summaryrefslogtreecommitdiff
path: root/numpy/testing/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/testing/utils.py')
-rw-r--r--numpy/testing/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/testing/utils.py b/numpy/testing/utils.py
index 01ce31c4a..a2d3119c5 100644
--- a/numpy/testing/utils.py
+++ b/numpy/testing/utils.py
@@ -1380,7 +1380,7 @@ class WarningMessage(object):
"line : %r}" % (self.message, self._category_name,
self.filename, self.lineno, self.line))
-class WarningManager:
+class WarningManager(object):
"""
A context manager that copies and restores the warnings filter upon
exiting the context.