diff options
-rw-r--r-- | numpy/core/tests/test_scalarmath.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/core/tests/test_scalarmath.py b/numpy/core/tests/test_scalarmath.py index 76220d82d..7e249e738 100644 --- a/numpy/core/tests/test_scalarmath.py +++ b/numpy/core/tests/test_scalarmath.py @@ -103,7 +103,7 @@ class TestConversion(TestCase): # assert_equal( val, val2 ) -class TestRepr(TestCase): +class TestRepr(): def _test_type_repr(self, t): finfo=np.finfo(t) last_fraction_bit_idx = finfo.nexp + finfo.nmant @@ -133,7 +133,7 @@ class TestRepr(TestCase): # long double test cannot work, because eval goes through a python # float for t in [np.float32, np.float64]: - yield test_float_repr, t + yield self._test_type_repr, t if __name__ == "__main__": run_module_suite() |