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
@karthiknadig I downgraded to 2024.22.0 and then to 2024.20.0 but my problem still exists with any version. I don't think it's related to the issue you linked.
I don't see a buffer overflow either.
I did some digging and debugging into the extension code and compared it with my output:
extra info:
fullname: it_raises_a_value_error
testfunc: describe_convert_command.describe_init.with_format_go_licenses.with_invalid_file_format.it_raises_a_value_error
parameterized:
traceback:
fullname is fetched via _get_location from item and item.location contains only it_raises_a_value_error as third element. So to me it looks as if pytest discovery in this case doesn't deliver the required fullname, but some short name only.
Thus I believe it rather has something to do with pytest-describe and the extension not being able to determine them correctly.
WDYT? And would you mind reopening again?
Thanks
after downgraded vscode-python extension, I also needed to clone my project to a new folder to get it working again, don't know why, I even upgraded the version again to check if it could be solved only doing this and I needed to clone into a new folder again(also downgrade again), give it a try.
Type: Bug
Behaviour
I'm working on a poetry project with pytest and pytest-describe.
Tests are not recognized by the python extension.
My
.vscode/settings.json
containsHowever, despite setting "Trace" in VSCode Output "Python", there's no "Experiment" in the output.
Steps to reproduce:
pytest-describe
.pytest
inpyproject.toml
withtests/convert/test_convert_command.py
with nested describe structure, e.g.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 23.4.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
The text was updated successfully, but these errors were encountered: