transformers/templates/adding_a_new_model/tests
Aymeric Augustin 345c23a60f Replace (TF)CommonTestCases for modeling with a mixin.
I suspect the wrapper classes were created in order to prevent the
abstract base class (TF)CommonModelTester from being included in test
discovery and running, because that would fail.

I solved this by replacing the abstract base class with a mixin.

Code changes are just de-indenting and automatic reformattings
performed by black to use the extra line space.
2019-12-22 15:35:18 +01:00
..
test_modeling_tf_xxx.py Replace (TF)CommonTestCases for modeling with a mixin. 2019-12-22 15:35:18 +01:00
test_modeling_xxx.py Replace (TF)CommonTestCases for modeling with a mixin. 2019-12-22 15:35:18 +01:00
test_tokenization_xxx.py Remove unittest.main() in test modules. 2019-12-22 14:42:03 +01:00