Python test discovery is incompatible with pytest-ruff. #24326
Labels
area-testing
bug
Issue identified by VS Code Team member as probable bug
needs spike
Label for issues that need investigation before they can be worked on.
Type: Bug
Behaviour
When discovering tests with pytest-ruff enabled (
pytest --ruff
command) only very small subset of the tests is available.Steps to reproduce:
pip install pytest-ruff
--ruff
to theaddopts
inpytest.ini
or into thepytestArgs
.Extension version: 2024.17.2024102101
VS Code version: Code 1.94.2 (Universal) (384ff7382de624fb94dbaf6da11977bba1ecd427, 2024-10-09T16:08:44.566Z)
OS version: Darwin arm64 24.0.0
Modes:
python.languageServer
setting: DefaultUser Settings
Installed Extensions
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
The text was updated successfully, but these errors were encountered: