summaryrefslogtreecommitdiff
path: root/numpy/doc/misc.py
diff options
context:
space:
mode:
authorNathaniel J. Smith <njs@pobox.com>2015-12-29 17:52:41 -0800
committerNathaniel J. Smith <njs@pobox.com>2015-12-29 18:25:56 -0800
commit237ab4398ac880be30fc262e7bf6163e9baff921 (patch)
tree0f70a7e2f771b8677d76e73553b049eeec827285 /numpy/doc/misc.py
parent004639d07fd161d1394f5dda1b6ed42c777f3c80 (diff)
downloadnumpy-237ab4398ac880be30fc262e7bf6163e9baff921.tar.gz
[FIX] fix NoseTester's raise_warning default
Our test-runner's raise_warning mode traditionally has varied depending on whether we have a development or release version of numpy: for development versions we raise on warnings, and for release versions we don't. This is all very sensible... *if* you're running numpy's test suite. But our test-runner is also used by other packages like scipy, and it doesn't make sense for scipy's raise_warning mode to vary depending on whether *numpy* is a development or release version. (It should vary depending on whether the scipy-under-test is a development or release version.) So this commit moves the numpy-version-dependent raise_warning logic out of the generic NoseTester class and into numpy-specific code. (See scipy/scipy#5609 for more discussion.)
Diffstat (limited to 'numpy/doc/misc.py')
0 files changed, 0 insertions, 0 deletions