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
Extension version (available under the Extensions sidebar): v2020.12.424452561
OS and version: macOS 10.15.7
Python version (& distribution if applicable, e.g. Anaconda): 3.7.6
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): venv
Relevant/affected Python packages and their versions: XXX
Relevant/affected Python-related VS Code extensions and their versions: XXX
Value of the python.languageServer setting: Pylance
[NOTE: If you suspect that your issue is related to the Microsoft Python Language Server (python.languageServer: 'Microsoft'), please download our new language server Pylance from the VS Code marketplace to see if that fixes your issue]
Expected behaviour
Discovered test should be run without even if there is problem in different test, or at least error should be reported.
Actual behaviour
Even though tests are discovered in testing tab, running single tests causes message "No tests ran, please check the configuration settings for the tests." to appear. No tests are run.
Steps to reproduce:
[NOTE: Self-contained, minimal reproducing code samples are extremely helpful and will expedite addressing your issue]
I can't reproduce it outside our codebase, which has a lot of things glued on duck tape and Unittest discovery goes crazy, but I think here it is just a problem with error reporting here.
Logs
Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)
Unhandled exception in thread started by
The text was updated successfully, but these errors were encountered:
Hello! Closing as this is the same as this issue, which we are getting to this iteration! I will be fixing this for pytest but if you actually want this for unittest please comment and I will reopen. Thanks!
Environment data
python.languageServer
setting: Pylance[NOTE: If you suspect that your issue is related to the Microsoft Python Language Server (
python.languageServer: 'Microsoft'
), please download our new language server Pylance from the VS Code marketplace to see if that fixes your issue]Expected behaviour
Discovered test should be run without even if there is problem in different test, or at least error should be reported.
Actual behaviour
Even though tests are discovered in testing tab, running single tests causes message "No tests ran, please check the configuration settings for the tests." to appear. No tests are run.
Steps to reproduce:
[NOTE: Self-contained, minimal reproducing code samples are extremely helpful and will expedite addressing your issue]
I can't reproduce it outside our codebase, which has a lot of things glued on duck tape and Unittest discovery goes crazy, but I think here it is just a problem with error reporting here.
Logs
Output for
Python
in theOutput
panel (View
→Output
, change the drop-down the upper-right of theOutput
panel toPython
)The text was updated successfully, but these errors were encountered: