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
Testing #18349
The following code:
import unittest class TestSum2(unittest.TestCase): def test_sum2(self): self.assertEqual(sum([1, 2, 3]), 6, "Should be 6") def test_sum2_tuple(self): self.assertEqual(sum((1, 2, 2)), 6, "Should be 6") if __name__ == '__main__': unittest.main()
in a file called some.test.py with the following configuration:
some.test.py
{ "python.testing.unittestArgs": [ "-v", "-s", ".", "-p", "*test.py" ], "python.testing.pytestEnabled": false, "python.testing.unittestEnabled": true, "python.linting.enabled": true, "python.linting.pylintEnabled": true }
doesn't discover the tests. If I rename the file to sometest.py (note the removal of the .) then the tests are discovered.
sometest.py
.
Ubuntu 20.04
cc @TylerLeonhardt
The text was updated successfully, but these errors were encountered:
This is the expected behavior, it is not a conda run execution problem.
Sorry, something went wrong.
paulacamargo25
No branches or pull requests
Testing #18349
The following code:
in a file called
some.test.py
with the following configuration:doesn't discover the tests. If I rename the file to
sometest.py
(note the removal of the.
) then the tests are discovered.Ubuntu 20.04
cc @TylerLeonhardt
The text was updated successfully, but these errors were encountered: