summaryrefslogtreecommitdiff
path: root/numpy/core/tests/test_print.py
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2018-03-22 18:02:09 -0600
committerCharles Harris <charlesr.harris@gmail.com>2018-03-23 06:28:03 -0600
commit04c23fa59e71fbfbbcf24849954d7651cc72285e (patch)
treea6cb135226853de8281827837033dca3c89f8144 /numpy/core/tests/test_print.py
parentcfde48156ff9ca0502f375900079da96a1582fec (diff)
downloadpython-numpy-04c23fa59e71fbfbbcf24849954d7651cc72285e.tar.gz
python-numpy-04c23fa59e71fbfbbcf24849954d7651cc72285e.tar.bz2
python-numpy-04c23fa59e71fbfbbcf24849954d7651cc72285e.zip
TST: Remove some nose dependences in utils.py
The `assert_raises` and `assert_raises_regex` testing utilities were being imported from nose, which in turn took them from unittest `assertRaises` and `assertRaisesRegex`. We takeover the nose procedure here so that these commonly used utilities no longer have a nose dependence. The `raises` decorator continues to have a nose dependency, but that only shows up when used, and NumPy does not use it. Document that and otherwise leave it be.
Diffstat (limited to 'numpy/core/tests/test_print.py')
0 files changed, 0 insertions, 0 deletions