summaryrefslogtreecommitdiff
path: root/numpy/testing/nose_tools/utils.py
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2017-07-08 18:49:54 -0600
committerxoviat <xoviat@users.noreply.github.com>2017-12-22 17:30:49 -0600
commit2f4cc792492ed4acbe956e737daa7c1318e05ee7 (patch)
tree7cc5adb0b5e4539d3755ea1950cadad4536a2e41 /numpy/testing/nose_tools/utils.py
parent2f67fe02cfd795da92c9c00e5d9f4f590243ea0f (diff)
downloadnumpy-2f4cc792492ed4acbe956e737daa7c1318e05ee7.tar.gz
MAINT: Fix unused IgnoreException in nose_tools/utils.py
It did not have `pass` in the definition. It appears unused, so should be removed at some point.
Diffstat (limited to 'numpy/testing/nose_tools/utils.py')
-rw-r--r--numpy/testing/nose_tools/utils.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/numpy/testing/nose_tools/utils.py b/numpy/testing/nose_tools/utils.py
index 6c77e5e21..2d97b5c1e 100644
--- a/numpy/testing/nose_tools/utils.py
+++ b/numpy/testing/nose_tools/utils.py
@@ -1849,6 +1849,7 @@ def _gen_alignment_data(dtype=float32, type='binary', max_size=24):
class IgnoreException(Exception):
"Ignoring this exception due to disabled feature"
+ pass
@contextlib.contextmanager