conda activate pytest-prefer-nested-dup-tests
Last Login: Thu Jun 5 03:07 still logged in
/usr/bin/env /opt/conda/miniforge/envs/pytest-prefer-nested-dup-tests/bin/python /Users/marximus/.vscode/extensions/ms-python.debugpy-2025.8.0-darwin-arm64/bundled/libs/debugpy/adapter/../../debugpy/launcher 55664 -- /Users/marximus/.vscode/extensions/ms-python.python-2025.6.1-darwin-arm64/python_files/vscode_pytest/run_pytest_script.py --rootdir=/Volumes/src\ with\ spaces/pytest-prefer-nested-dup-tests --capture=no
(placeholder) heptagearogram-2:pytest-prefer-nested-dup-tests marximus$ conda activate pytest-prefer-nes
ted-dup-tests
(pytest-prefer-nested-dup-tests) heptagearogram-2:pytest-prefer-nested-dup-tests marximus$ /usr/bin/env
/opt/conda/miniforge/envs/pytest-prefer-nested-dup-tests/bin/python /Users/marximus/.vscode/extensions/
ms-python.debugpy-2025.8.0-darwin-arm64/bundled/libs/debugpy/adapter/../../debugpy/launcher 55664 -- /Us
ers/marximus/.vscode/extensions/ms-python.python-2025.6.1-darwin-arm64/python_files/vscode_pytest/run_py
test_script.py --rootdir=/Volumes/src\ with\ spaces/pytest-prefer-nested-dup-tests --capture=no
Running pytest with args: ['-p', 'vscode_pytest', '--rootdir=/Volumes/src with spaces/pytest-prefer-nested-dup-tests', '--capture=no', '/Volumes/src with spaces/pytest-prefer-nested-dup-tests/tests/test___impl.py::test_nested_package']
============================= test session starts ==============================
platform darwin -- Python 3.10.17, pytest-8.4.0, pluggy-1.6.0 -- /opt/conda/miniforge/envs/pytest-prefer-nested-dup-tests/bin/python
cachedir: .pytest_cache
metadata: {'Python': '3.10.17', 'Platform': 'macOS-15.4.1-arm64-arm-64bit', 'Packages': {'pytest': '8.4.0', 'pluggy': '1.6.0'}, 'Plugins': {'xdist': '3.7.0', 'anyio': '4.9.0', 'sugar': '1.0.0', 'html': '4.1.1', 'metadata': '3.1.1', 'prefer-nested-dup-tests': '0.1.1.dev0', 'cov': '6.1.1'}, 'PLATFORM': 'Darwin'}
rootdir: /Volumes/src with spaces/pytest-prefer-nested-dup-tests
configfile: pyproject.toml
plugins: xdist-3.7.0, anyio-4.9.0, sugar-1.0.0, html-4.1.1, metadata-3.1.1, prefer-nested-dup-tests-0.1.1.dev0, cov-6.1.1
collecting ... collected 1 item
tests/test___impl.py::test_nested_package ============================= test session starts ==============================
platform darwin -- Python 3.10.17, pytest-8.4.0, pluggy-1.6.0 -- /opt/conda/miniforge/envs/pytest-prefer-nested-dup-tests/bin/python
cachedir: .pytest_cache
metadata: {'Python': '3.10.17', 'Platform': 'macOS-15.4.1-arm64-arm-64bit', 'Packages': {'pytest': '8.4.0', 'pluggy': '1.6.0'}, 'Plugins': {'xdist': '3.7.0', 'anyio': '4.9.0', 'html': '4.1.1', 'metadata': '3.1.1', 'prefer-nested-dup-tests': '0.1.1.dev0', 'cov': '6.1.1'}, 'PLATFORM': 'Darwin'}
rootdir: /private/var/folders/4k/r9plgthx7nx2ds7jhrlb4qyw0000gn/T/pytest-of-marximus/pytest-33/test_nested_package0
plugins: xdist-3.7.0, anyio-4.9.0, html-4.1.1, metadata-3.1.1, prefer-nested-dup-tests-0.1.1.dev0, cov-6.1.1
collecting ... collected 2 items
<Dir test_nested_package0>
<Package tests>
<Package bar>
<Module test_bar.py>
<Function test_bar>
<Package foo>
<Module test_foo.py>
<Function test_foo>
========================== 2 tests collected in 0.01s ==========================
============================= test session starts ==============================
platform darwin -- Python 3.10.17, pytest-8.4.0, pluggy-1.6.0 -- /opt/conda/miniforge/envs/pytest-prefer-nested-dup-tests/bin/python
cachedir: .pytest_cache
metadata: {'Python': '3.10.17', 'Platform': 'macOS-15.4.1-arm64-arm-64bit', 'Packages': {'pytest': '8.4.0', 'pluggy': '1.6.0'}, 'Plugins': {'xdist': '3.7.0', 'anyio': '4.9.0', 'html': '4.1.1', 'metadata': '3.1.1', 'prefer-nested-dup-tests': '0.1.1.dev0', 'cov': '6.1.1'}, 'PLATFORM': 'Darwin'}
rootdir: /private/var/folders/4k/r9plgthx7nx2ds7jhrlb4qyw0000gn/T/pytest-of-marximus/pytest-33/test_nested_package0
plugins: xdist-3.7.0, anyio-4.9.0, html-4.1.1, metadata-3.1.1, prefer-nested-dup-tests-0.1.1.dev0, cov-6.1.1
collecting ... collected 2 items
tests/bar/test_bar.py::test_bar PASSED [ 50%]
tests/foo/test_foo.py::test_foo PASSED [100%]
============================== 2 passed in 0.02s ===============================
============================= test session starts ==============================
platform darwin -- Python 3.10.17, pytest-8.4.0, pluggy-1.6.0
rootdir: /private/var/folders/4k/r9plgthx7nx2ds7jhrlb4qyw0000gn/T/pytest-of-marximus/pytest-33/test_nested_package0
plugins: xdist-3.7.0, anyio-4.9.0, html-4.1.1, metadata-3.1.1, prefer-nested-dup-tests-0.1.1.dev0, cov-6.1.1
collected 2 items
<Dir test_nested_package0>
<Package tests>
<Package foo>
<Module test_foo.py>
<Function test_foo>
<Package bar>
<Module test_bar.py>
<Function test_bar>
========================== 2 tests collected in 0.01s ==========================
PASSED
================================ tests coverage ================================
______________ coverage: platform darwin, python 3.10.17-final-0 _______________
Name Stmts Miss Branch BrPart Cover Missing
------------------------------------------------------------------------------------------
src/pytest_prefer_nested_dup_tests/__impl.py 25 8 6 0 74% 13-62, 76
tests/__init__.py 0 0 0 0 100%
tests/conftest.py 2 0 0 0 100%
tests/deeptest/__init__.py 0 0 0 0 100%
tests/deeptest/deepertest/__init__.py 0 0 0 0 100%
tests/deeptest/deepertest/test___impl.py 5 5 0 0 0% 12-45
tests/deeptest/test___impl.py 5 5 0 0 0% 12-45
tests/test___impl.py 47 23 2 0 53% 43-44, 55-67, 79-94, 105-125, 224-239
------------------------------------------------------------------------------------------
TOTAL 84 41 8 0 55%
Coverage HTML written to dir htmlcov
Coverage XML written to file coverage.xml
- Generated html report: file:///Volumes/src%20with%20spaces/pytest-prefer-nested-dup-tests/.reports/test-report-coverage.html -
============================== 1 passed in 0.45s ===============================
(pytest-prefer-nested-dup-tests) heptagearogram-2:pytest-prefer-nested-dup-tests marximus$
Type: Bug
Behaviour
When attempting to debug run a pytest test within a conda environment, the test never starts.
Steps to reproduce:
NOTES:
With plugin enabled, it attempts to
rather than something like
or
Diagnostic data
Output for
Pythonin theOutputpanel (View→Output, change the drop-down the upper-right of theOutputpanel toPython)Results w/ Plugin Enabled
Output Panel
Terminal
After while, an error popup message appears, "Timed out waiting for launcher to connect", "Open 'launch.json'", "Cancel".
Expected Results / With plugin disabled
With the plugin disabled the following results occur and are what are expected behavior.
Output Panel
Terminal
Extension version: 0.3.11561010
VS Code version: Code 1.100.3 (Universal) (258e40fedc6cb8edf399a463ce3a9d32e7e1f6f3, 2025-06-02T13:30:54.273Z)
OS version: Darwin arm64 24.4.0
Modes:
System Info
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
A/B Experiments