diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2018-03-22 18:02:09 -0600 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2018-03-23 06:28:03 -0600 |
commit | 04c23fa59e71fbfbbcf24849954d7651cc72285e (patch) | |
tree | a6cb135226853de8281827837033dca3c89f8144 /numpy/core/tests/test_print.py | |
parent | cfde48156ff9ca0502f375900079da96a1582fec (diff) | |
download | python-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