You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refresh test explorer. The structure to test_thing.py shows, but no enclosed tests.
Diagnostic data
Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)
2024-12-20 11:37:29.192 [error] Test Discovery named pipe /tmp/python-test-discovery-722b8c0deee2ac3fab4c error: Error: Illegal argument: line must be non-negative
at Se (file:///home/coder/.vscode-server/cli/servers/Stable-138f619c86f1199955d53b4166bef66ef252935c/server/out/vs/workbench/api/node/extensionHostProcess.js:7:1186)
at new io (file:///home/coder/.vscode-server/cli/servers/Stable-138f619c86f1199955d53b4166bef66ef252935c/server/out/vs/workbench/api/node/extensionHostProcess.js:109:20862)
at /home/coder/.vscode-server/extensions/ms-python.python-2024.22.0-linux-x64/out/client/extension.js:2:963710
at Array.forEach (<anonymous>)
at e (/home/coder/.vscode-server/extensions/ms-python.python-2024.22.0-linux-x64/out/client/extension.js:2:963514)
at /home/coder/.vscode-server/extensions/ms-python.python-2024.22.0-linux-x64/out/client/extension.js:2:964138
at Array.forEach (<anonymous>)
at e (/home/coder/.vscode-server/extensions/ms-python.python-2024.22.0-linux-x64/out/client/extension.js:2:963514)
at /home/coder/.vscode-server/extensions/ms-python.python-2024.22.0-linux-x64/out/client/extension.js:2:964138
at Array.forEach (<anonymous>)
at e (/home/coder/.vscode-server/extensions/ms-python.python-2024.22.0-linux-x64/out/client/extension.js:2:963514)
at t.PythonResultResolver._resolveDiscovery (/home/coder/.vscode-server/extensions/ms-python.python-2024.22.0-linux-x64/out/client/extension.js:2:942416)
at t.PythonResultResolver.resolveDiscovery (/home/coder/.vscode-server/extensions/ms-python.python-2024.22.0-linux-x64/out/client/extension.js:2:941500)
at /home/coder/.vscode-server/extensions/ms-python.python-2024.22.0-linux-x64/out/client/extension.js:2:990563
at S.callback (/home/coder/.vscode-server/extensions/ms-python.python-2024.22.0-linux-x64/out/client/extension.js:2:962105)
at Object.thunk (/home/coder/.vscode-server/extensions/ms-python.python-2024.22.0-linux-x64/out/client/extension.js:2:2057200)
2024-12-20 11:37:29.192 [info]
Extension version: 2024.22.0
VS Code version: Code 1.96.0 (138f619c86f1199955d53b4166bef66ef252935c, 2024-12-11T02:29:09.626Z)
OS version: Windows_NT x64 10.0.19045
Modes:
Remote OS version: Linux x64 6.1.109-118.189.amzn2023.x86_64
Python version (& distribution if applicable, e.g. Anaconda): 3.11.10
Type of virtual environment used (e.g. conda, venv, virtualenv, etc.): Venv
Value of the python.languageServer setting: Default
Type: Bug
Behaviour
Tests not showing in test explorer.
Steps to reproduce:
Create test file in python project directory
Refresh test explorer. The structure to
test_thing.py
shows, but no enclosed tests.Diagnostic data
Output for
Python
in theOutput
panel (View
→Output
, change the drop-down the upper-right of theOutput
panel toPython
)Extension version: 2024.22.0
VS Code version: Code 1.96.0 (138f619c86f1199955d53b4166bef66ef252935c, 2024-12-11T02:29:09.626Z)
OS version: Windows_NT x64 10.0.19045
Modes:
Remote OS version: Linux x64 6.1.109-118.189.amzn2023.x86_64
python.languageServer
setting: DefaultUser Settings
Installed Extensions
System Info
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: disabled_software
multiple_raster_threads: enabled_on
opengl: disabled_off
rasterization: disabled_software
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: disabled_software
video_encode: disabled_software
vulkan: disabled_off
webgl: unavailable_software
webgl2: unavailable_software
webgpu: unavailable_software
webnn: unavailable_software
A/B Experiments
The text was updated successfully, but these errors were encountered: