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
Earlier python test explorer use to update the test status as soon as the particular test execution was completed.
Now, the test status (whether it has passed or failed) is updated only when the test session is completed.
Steps to reproduce:
Create test_*.py file containing multiple test functions.
Execute the test using pytest test runner provided by Python Extension.
Observe that the test status icon (green for passed and red for failure) is updated only when all the tests are passed.
Diagnostic data
Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)
XXX
Extension version: 2024.19.2024103101
VS Code version: Code 1.95.1 (Universal) (65edc4939843c90c34d61f4ce11704f09d3e5cb6, 2024-10-31T05:14:54.222Z)
OS version: Darwin x64 24.0.0
Modes:
Connection to 'tunnel+va2ads381va2pubmatic' could not be established
Connection to 'va2ads381va2pubmatic' could not be established Connection error: Client refused: version mismatch
Connection to 'attached-container+7b22636f6e7461696e65724e616d65223a222f5048505f434f4e5441494e45525f43495f435441227d@tunnel+va2ads381va2pubmatic' could not be established
Python version (& distribution if applicable, e.g. Anaconda): 3.11.10
Type of virtual environment used (e.g. conda, venv, virtualenv, etc.): Poetry
Value of the python.languageServer setting: Default
I think maybe the rewrite is no longer on for you- could you opt in to that experiment and try again? You can do so adding this setting to your users settings.json "python.experiments.optInto": ["pythonTestAdapter"]. Then you can confirm its enabled by finding Experiment 'pythonTestAdapter' is active in your python logs. If you are unable to see the log for the experiment change your log level to trace and it should show up. To set to trace use theDeveloper: set log level command in the command palette. Thanks
Type: Bug
Behaviour
Earlier python test explorer use to update the test status as soon as the particular test execution was completed.
Now, the test status (whether it has passed or failed) is updated only when the test session is completed.
Steps to reproduce:
Diagnostic data
Output for
Python
in theOutput
panel (View
→Output
, change the drop-down the upper-right of theOutput
panel toPython
)Extension version: 2024.19.2024103101
VS Code version: Code 1.95.1 (Universal) (65edc4939843c90c34d61f4ce11704f09d3e5cb6, 2024-10-31T05:14:54.222Z)
OS version: Darwin x64 24.0.0
Modes:
Connection to 'tunnel+va2ads381va2pubmatic' could not be established
Connection to 'va2ads381va2pubmatic' could not be established Connection error: Client refused: version mismatch
Connection to 'attached-container+7b22636f6e7461696e65724e616d65223a222f5048505f434f4e5441494e45525f43495f435441227d@tunnel+va2ads381va2pubmatic' could not be established
python.languageServer
setting: DefaultUser Settings
Installed Extensions
System Info
canvas_oop_rasterization: disabled_off
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
The text was updated successfully, but these errors were encountered: