transformers/templates/adding_a_new_model/tests
Aymeric Augustin 7e98e211f0 Remove unittest.main() in test modules.
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.
2019-12-22 14:42:03 +01:00
..
test_modeling_tf_xxx.py Remove unittest.main() in test modules. 2019-12-22 14:42:03 +01:00
test_modeling_xxx.py Remove unittest.main() in test modules. 2019-12-22 14:42:03 +01:00
test_tokenization_xxx.py Remove unittest.main() in test modules. 2019-12-22 14:42:03 +01:00