diff options
Diffstat (limited to 'absl/testing')
-rwxr-xr-x | absl/testing/parameterized.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/absl/testing/parameterized.py b/absl/testing/parameterized.py index 0813014..46b6b48 100755 --- a/absl/testing/parameterized.py +++ b/absl/testing/parameterized.py @@ -537,7 +537,8 @@ def _update_class_dict_for_param_test_case( test_params_reprs[new_name] = getattr(func, '__x_params_repr__', '') -class TestCase(six.with_metaclass(TestGeneratorMetaclass, absltest.TestCase)): +@six.add_metaclass(TestGeneratorMetaclass) +class TestCase(absltest.TestCase): """Base class for test cases using the parameters decorator.""" # visibility: private; do not call outside this class. |