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
Will fail to find some modules when trying to run the test suite. I already fixed this for "discovery" here: #22453. Had not realized it was an issue on execution as well until now.
Steps to reproduce:
Run a test that has an import starting with "libs.____"
Diagnostic data
Python version (& distribution if applicable, e.g. Anaconda): 3.12.0
Type of virtual environment used (e.g. conda, venv, virtualenv, etc.): Global
Value of the python.languageServer setting: Default
Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)
XXX
User Settings
languageServer: "Pylance"
Extension version: 2024.2.1
VS Code version: Code 1.87.0 (019f4d1419fbc8219a181fab7892ebccf7ee29a2, 2024-02-27T23:42:51.279Z)
OS version: Darwin arm64 22.6.0
Modes:
shanesaravia
changed the title
Test suite execusion error on imports that use shared filenames with the pythonFiles>unittestadapter directory
Test suite execution error on imports that use shared filenames with the pythonFiles>unittestadapter directory
Mar 19, 2024
- This has already been discussed and resolved for tests discovery in
this [PR](#22454)
- I have now run into the same issue for executing the test suite and
have applied the same fix in this PR
- Tested and working
[Issue](#23098) for
this current PR
[Original
Issue](#22453)
[Original PR](#22454)
Co-authored-by: Eleanor Boyd <eleanorboyd@microsoft.com>
Type: Bug
Behaviour
Expected vs. Actual
Will fail to find some modules when trying to run the test suite. I already fixed this for "discovery" here: #22453. Had not realized it was an issue on execution as well until now.
Steps to reproduce:
Diagnostic data
python.languageServer
setting: DefaultOutput for
Python
in theOutput
panel (View
→Output
, change the drop-down the upper-right of theOutput
panel toPython
)User Settings
Extension version: 2024.2.1
VS Code version: Code 1.87.0 (019f4d1419fbc8219a181fab7892ebccf7ee29a2, 2024-02-27T23:42:51.279Z)
OS version: Darwin arm64 22.6.0
Modes:
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
A/B Experiments
The text was updated successfully, but these errors were encountered: