forked from DonJayamanne/pythonVSCode
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Open
Labels
triage-neededNeeds assignment to the proper sub-teamNeeds assignment to the proper sub-team
Description
Type: Bug
Behavior
This is a near repeat of #24743.
Extraneous output is being included into the "Test Results" output when running Python tests using unittest (the "Standard Python test framework").
Specifically, the PROJECT_ROOT_PATH is set, using /... as cwd for execution payload is unnecessary and unwanted.
| f"PROJECT_ROOT_PATH is set, using {project_root_path} as cwd for execution payload" |
Steps to reproduce:
- Run any Python unit tests using unittest.
- Observe the extraneous output in the Test Results output.
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: 2026.2.2026021801
VS Code version: Code 1.109.5 (072586267e68ece9a47aa43f8c108e0dcbf44622, 2026-02-19T19:43:32.382Z)
OS version: Windows_NT x64 10.0.26200
Modes:
Remote OS version: Linux arm64 6.12.62+rpt-rpi-2712
- Python version (& distribution if applicable, e.g. Anaconda): 3.13.5.final.0
- Type of virtual environment used (e.g. conda, venv, virtualenv, etc.): System
- Value of the
python.languageServersetting: Pylance
User Settings
languageServer: "Pylance"
testing
• unittestEnabled: true
Installed Extensions
| Extension Name | Extension Id | Version |
|---|---|---|
| python | ms- | 2026.2.0 |
| vscode-pylance | ms- | 2026.1.1 |
| vscode-python-envs | ms- | 1.16.0 |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
triage-neededNeeds assignment to the proper sub-teamNeeds assignment to the proper sub-team