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
The test discovery process hangs when the number of tests reaches a threshold. The threshold seems to vary by project and environment (computer/user, etc.) but there is a definite threshold. If you reduce the number of tests, eventually the test discovery will work. But if you increase the number of tests again, it will fail at the same point (for a given project/environment).
Steps to reproduce:
Create a really simple project.
Add a directory called tests to put your tests in.
Create a simple file with a bunch of tests like
def test_two(): pass
def test_three(): pass
...
Keep increasing the number of tests and restarting the test discovery process until it hangs.
Diagnostic data
Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)
Type: Bug
Behaviour
The test discovery process hangs when the number of tests reaches a threshold. The threshold seems to vary by project and environment (computer/user, etc.) but there is a definite threshold. If you reduce the number of tests, eventually the test discovery will work. But if you increase the number of tests again, it will fail at the same point (for a given project/environment).
Steps to reproduce:
tests
to put your tests in.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.1
VS Code version: Code 1.96.2 (fabdb6a30b49f79a7aba0f2ad9df9b399473380f, 2024-12-19T10:22:47.216Z)
OS version: Darwin arm64 24.2.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: