test "!python should point to the Environment" is failing
See original GitHub issuepossibly need to clear the workspace interpreter setting
Environment data
- VS Code version: XXX
- Jupyter Extension version (available under the Extensions sidebar): XXX
- Python Extension version (available under the Extensions sidebar): XXX
- OS (Windows | Mac | Linux distro) and version: XXX
- Python and/or Anaconda version: XXX
- Type of virtual environment used (N/A | venv | virtualenv | conda | …): XXX
- Jupyter server running: Local | Remote | N/A
Expected behaviour
XXX
Actual behaviour
XXX
Steps to reproduce:
[NOTE: Self-contained, minimal reproducing code samples are extremely helpful and will expedite addressing your issue]
- XXX
Logs
Output for Jupyter
in the Output
panel (View
→Output
, change the drop-down the upper-right of the Output
panel to Jupyter
)
XXX
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (8 by maintainers)
Top Results From Across the Web
Unit tests are failing after adding environment variable to main ...
The environment variable needs to be set in the project's repository in travis CI so that all files have access to it.
Read more >Pytest running doesn't take into consideration env. #6891
Actual behaviour. Tests that depend on a specific environment variable being set to run fail. ... PYTHONPATH must be relative not absolute.
Read more >unittest — Unit testing framework — Python 3.11.1 ...
Any exception, other than AssertionError or SkipTest , raised by this method will be considered an additional error rather than a test failure...
Read more >Python's assert: Debug and Test Your Code Like a Pro
In this tutorial, you'll learn how to use Python's assert statement to document, debug, and test code in development.
Read more >Debugging Your Unit Test Suite in Python | Capital One
If you run your tests with pytest --pdb, it will automatically drop into a debugger on every test that fails or has an...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
https://github.com/microsoft/vscode-jupyter/runs/5489090369?check_suite_focus=true
please could you point to a ci run so i can have a look