Closed saurabh-rai-pubmatic closed 2 weeks ago
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
Its working as expected after adding the "python.experiments.optInto": ["pythonTestAdapter"] in my settings.json file. Closing.
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
)``` 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.languageServer
setting: DefaultUser Settings
``` envFile: ""
languageServer: "Pylance"
testing
• pytestArgs: ""
• pytestEnabled: true
```
Installed Extensions
|Extension Name|Extension Id|Version| |---|---|---| |autoDocstring - Python Docstring Generator|njpwerner.autodocstring|0.6.1| |Cobalt2 Theme Official|wesbos.theme-cobalt2|2.4.3| |Data Wrangler|ms-toolsai.datawrangler|1.12.1| |Database Client JDBC|cweijan.dbclient-jdbc|1.3.6| |Dev Containers|ms-vscode-remote.remote-containers|0.390.0| |Docker|ms-azuretools.vscode-docker|1.29.3| |Excel Viewer|GrapeCity.gc-excelviewer|4.2.62| |GitHub Copilot|GitHub.copilot|1.243.0| |GitHub Copilot Chat|GitHub.copilot-chat|0.22.1| |GitHub Pull Requests|GitHub.vscode-pull-request-github|0.100.0| |GitLens — Git supercharged|eamodio.gitlens|15.6.2| |Go to Character Position|davidfreer.go-to-character-position|2.0.1| |JavaScript Debugger|ms-vscode.js-debug|1.95.1| |JavaScript Debugger Companion Extension|ms-vscode.js-debug-companion|1.1.3| |Jenkins Jack|saurabh-rai.jenkins-jack|1.0.1| |Jupyter|ms-toolsai.jupyter|2024.11.2024102401| |Jupyter Cell Tags|ms-toolsai.vscode-jupyter-cell-tags|0.1.9| |Jupyter Keymap|ms-toolsai.jupyter-keymap|1.1.2| |Jupyter Notebook Renderers|ms-toolsai.jupyter-renderers|1.0.2024102901| |Jupyter Slide Show|ms-toolsai.vscode-jupyter-slideshow|0.1.6| |Material Icon Theme|PKief.material-icon-theme|5.12.0| |Nasc VSCode Touchbar|felipe.nasc-touchbar|1.12.0| |OpenAPI (Swagger) Editor|42Crunch.vscode-openapi|4.29.2| |PHP Debug|xdebug.php-debug|1.35.0| |PHP Extension Pack|xdebug.php-pack|1.0.3| |PHP IntelliSense|zobo.php-intellisense|1.3.3| |Postman|Postman.postman-for-vscode|1.3.0| |Pylance|ms-python.vscode-pylance|2024.10.104| |Pylint|ms-python.pylint|2024.0.0| |Python|ms-python.python|2024.19.2024103101| |Python Debugger|ms-python.debugpy|2024.13.2024103001| |Python Environment Manager|donjayamanne.python-environment-manager|1.2.4| |Rainbow CSV|mechatroner.rainbow-csv|3.12.0| |Remote - SSH|ms-vscode-remote.remote-ssh|0.115.0| |Remote - SSH: Editing Configuration Files|ms-vscode-remote.remote-ssh-edit|0.87.0| |Remote - Tunnels|ms-vscode.remote-server|1.5.2| |Remote Development|ms-vscode-remote.vscode-remote-extensionpack|0.26.0| |Remote Explorer|ms-vscode.remote-explorer|0.4.3| |Remote Repositories|ms-vscode.remote-repositories|0.42.0| |Ruff|charliermarsh.ruff|2024.54.0| |SQl Server Client(mssql)|cweijan.vscode-myssql-client2|4.3.1| |Table Visualizer for JavaScript Profiles|ms-vscode.vscode-js-profile-table|1.0.10| |VSCode Archive|YuTengjing.vscode-archive|0.8.0| |YAML|redhat.vscode-yaml|1.15.0|System Info
|Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz (12 x 2600)| |GPU Status|2d_canvas: enabledcanvas_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| |Load (avg)|2, 2, 3| |Memory (System)|16.00GB (0.30GB free)| |Process Argv|| |Screen Reader|no| |VM|0%|