summaryrefslogtreecommitdiff
path: root/numpy/core/tests/test_umath.py
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/core/tests/test_umath.py')
-rw-r--r--numpy/core/tests/test_umath.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/core/tests/test_umath.py b/numpy/core/tests/test_umath.py
index ac97b8b..4b6b26c 100644
--- a/numpy/core/tests/test_umath.py
+++ b/numpy/core/tests/test_umath.py
@@ -24,10 +24,10 @@ def on_powerpc():
class _FilterInvalids(object):
- def setUp(self):
+ def setup(self):
self.olderr = np.seterr(invalid='ignore')
- def tearDown(self):
+ def teardown(self):
np.seterr(**self.olderr)