forked from DonJayamanne/pythonVSCode
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Closed
Copy link
Labels
area-testingbugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugverifiedVerification succeededVerification succeeded
Milestone
Description
Environment data
- VS Code version: 1.38.1
- Extension version: 2019.9.34911
- OS and version: WSL (Windows 10.0.18362 Build 18362)
- Python version: Conda 3.7.4
- Type of virtual environment used: Conda
- Relevant/affected Python packages and their versions: pytest-5.0.1
Expected behaviour
I am using python in a conda environment in WSL. I configured VS Code to use the correct WSL python interpreter, and I expected that the code adornments would be available.
Actual behaviour
VSCode discovers the test and it can be run , but there is no visible adornment.
Interestingly, I installed conda/python on Windows, and when I switch over to that interpreter in VS Code, the code adornments are available.
Windows (code adornments available)

Steps to reproduce:
- Install pytest.
- Write a test
- Choose the WSL Conda python interpreter
- Code adornments not available.
vs. - Disconnect from WSL
- Choose the Windows Conda python interpreter
- Code adornments become available
Logs
Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)
> ~/miniconda3/envs/APT/bin/python ~/.vscode-server/extensions/ms-python.python-2019.9.34911/pythonFiles/testing_tools/run_adapter.py discover pytest -- -s .
cwd: ~/PhillipYen/Desktop/project1
> conda info --json
> ~/miniconda3/envs/APT/bin/python ~/.vscode-server/extensions/ms-python.python-2019.9.34911/pythonFiles/testing_tools/run_adapter.py discover pytest -- -s --cache-clear .
cwd: ~/PhillipYen/Desktop/project1
dominik-ba
Metadata
Metadata
Assignees
Labels
area-testingbugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugverifiedVerification succeededVerification succeeded
