summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
Diffstat (limited to 'numpy')
-rw-r--r--numpy/core/tests/test_deprecations.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/numpy/core/tests/test_deprecations.py b/numpy/core/tests/test_deprecations.py
index 547280b23..e03edb2ea 100644
--- a/numpy/core/tests/test_deprecations.py
+++ b/numpy/core/tests/test_deprecations.py
@@ -644,6 +644,8 @@ class TestTestDeprecated(object):
warnings.warn("foo", category=DeprecationWarning)
test_case_instance.assert_deprecated(foo)
+ test_case_instance.tearDown()
+
if __name__ == "__main__":
run_module_suite()