forked from DonJayamanne/pythonVSCode
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bug
Description
Discussed in #16565
Originally posted by bigjools June 25, 2021
I've got a very simple unittest-based set up. My settings.json has this:
"python.testing.unittestEnabled": true,
"python.testing.unittestArgs": [
"-s",
"sofi.tests"
],
When doing test discovery I get this output:
Test Discovery failed:
Error: spawn /path/to/my/python3 ENOENT
However I can run the tests just fine! I get the output in the Python Debug console.
/usr/bin/env /path/to/my/python3 /my/homedir/.vscode/extensions/ms-python.python-2021.6.944021595/pythonFiles/lib/python/debugpy/launcher 45627 -- /my/homedir/.vscode/extensions/ms-python.python-2021.6.944021595/pythonFiles/visualstudio_py_testlauncher.py --us=sofi.tests --up=test*.py --uvInt=1 --result-port=34281
.........................................................s.....................
----------------------------------------------------------------------
Ran 79 tests in 0.311s
Can anyone shed any light on this?
(Running 1.57.1 on Ubuntu 20.04, Python extension version 2021.6.944021595)
Metadata
Metadata
Assignees
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bug