Tests are missing depending on Python interpreter #24368
Labels
info-needed
Issue requires more information from poster
triage-needed
Needs assignment to the proper sub-team
Type: Bug
Behaviour
Depending on the selected Python Interpreter, some tests are missing from the Test Explorer.
Steps to reproduce:
/tests/
and/tests/subfolder
)Example 1: Poetry (3.12.3):
Note that all tests are showing as expected
Example 2: Conda (3.12.4):
Note that:
test_method
tests are missingtest_parametrized_method
tests are missingtest_parametrized_class_method
tests are missingTestClass
nodes are missing (test_class_method
tests are displayed as children of thetest_test.py
nodes)The Python Output panel does show that pytest picks up all tests
Diagnostic data
Extension version: 2024.16.1
VS Code version: Code 1.94.2 (384ff7382de624fb94dbaf6da11977bba1ecd427, 2024-10-09T16:08:44.566Z)
OS version: Linux x64 6.8.0-47-generic snap
Modes:
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: disabled_off
webnn: disabled_off
A/B Experiments
The text was updated successfully, but these errors were encountered: