Skip to content
Snippets Groups Projects
Commit df3dac76 authored by Gael Varoquaux's avatar Gael Varoquaux
Browse files

BUG: fix testing on older numpy

parent 1eae4148
Branches
Tags
No related merge requests found
......@@ -39,7 +39,11 @@ try:
extra_argv=extra_argv,
doctests=doctests, coverage=coverage)
try:
test = NoseTester(raise_warnings="release").test
except TypeError:
# Older versions of numpy do not have a raise_warnings argument
test = NoseTester().test
del nosetester
except:
pass
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment