diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2015-12-10 19:41:33 -0700 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2015-12-10 19:41:33 -0700 |
commit | bb959e1857c3ba2ad98ab87f13fdcc6b43740ffb (patch) | |
tree | 788cdd7c020394c453de5e325846be124aaf7690 /numpy/lib/tests/test_io.py | |
parent | 1579ba490d5bc67f16d5311a0789cdf69d81ea11 (diff) | |
download | numpy-bb959e1857c3ba2ad98ab87f13fdcc6b43740ffb.tar.gz |
MAINT: Replace assert with assert_(...) in some tests.
Diffstat (limited to 'numpy/lib/tests/test_io.py')
-rw-r--r-- | numpy/lib/tests/test_io.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/numpy/lib/tests/test_io.py b/numpy/lib/tests/test_io.py index af904e96a..bffc5c63e 100644 --- a/numpy/lib/tests/test_io.py +++ b/numpy/lib/tests/test_io.py @@ -1815,9 +1815,9 @@ M 33 21.99 assert_equal(test.dtype.names, ['f0', 'f1', 'f2']) - assert test.dtype['f0'] == np.float - assert test.dtype['f1'] == np.int64 - assert test.dtype['f2'] == np.integer + assert_(test.dtype['f0'] == np.float) + assert_(test.dtype['f1'] == np.int64) + assert_(test.dtype['f2'] == np.integer) assert_allclose(test['f0'], 73786976294838206464.) assert_equal(test['f1'], 17179869184) |