"vscode:/vscode.git/clone" did not exist on "0d358b95665a4a2c3edbdf2a4e51920e4c773fb1"
  • Aymeric Augustin's avatar
    Remove unittest.main() in test modules. · 7e98e211
    Aymeric Augustin authored
    This construct isn't used anymore these days.
    
    Running python tests/test_foo.py puts the tests/ directory on
    PYTHONPATH, which isn't representative of how we run tests.
    
    Use python -m unittest tests/test_foo.py instead.
    7e98e211
test_examples.py 3.56 KB