summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
authorSebastian Berg <sebastian@sipsolutions.net>2016-06-19 13:45:06 +0200
committerSebastian Berg <sebastian@sipsolutions.net>2016-09-02 10:10:55 +0200
commit78d7cc4f3422826954b067a5b030f0807f85f294 (patch)
tree6c6d329991e94065838c63ec50a9c4af42ae58e5 /numpy
parent86b0a5e9c58160bad818ba3a0a6faf38f5ac4d09 (diff)
downloadnumpy-78d7cc4f3422826954b067a5b030f0807f85f294.tar.gz
MAINT: Add missing teardown in deprecation test case
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()