We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm getting the same exception as #1529
Running on Ubuntu 18.04 python 3.7.2
I can reproduce with the trivial example below. This file resides in a subfolder in my project.
import unittest class Test(unittest.TestCase): def test_(self): self.assertTrue(True) if __name__ == '__main__': unittest.main()
launch.json is
{ "name": "Python: Current File (Integrated Terminal)", "type": "python", "request": "launch", "program": "${file}", "console": "integratedTerminal" },
I've also been unable to get 'Discover Unit Tests' to work, not sure if that's related. But I can run from the command line
python -m unittest tests
Works fine (I did have to add init.py and explicitly import tests from each file in .\tests by I guess that's normal)
The text was updated successfully, but these errors were encountered:
Duplicate of #3201
Sorry, something went wrong.
No branches or pull requests
I'm getting the same exception as #1529
Running on Ubuntu 18.04 python 3.7.2
I can reproduce with the trivial example below. This file resides in a subfolder in my project.
launch.json is
I've also been unable to get 'Discover Unit Tests' to work, not sure if that's related. But I can run from the command line
Works fine (I did have to add init.py and explicitly import tests from each file in .\tests by I guess that's normal)
The text was updated successfully, but these errors were encountered: