summaryrefslogtreecommitdiff
path: root/numpy/lib
diff options
context:
space:
mode:
authorJaime <jaime.frio@gmail.com>2015-12-11 08:03:29 +0100
committerJaime <jaime.frio@gmail.com>2015-12-11 08:03:29 +0100
commit9424d3616d8c80b7f0b4dcf31ff3c335db76c0fa (patch)
tree70d95084de3306884c6f9adacbb62e4067fe96f0 /numpy/lib
parent582f1fd8447321451197c2d47bad13d039f5964a (diff)
parentbb959e1857c3ba2ad98ab87f13fdcc6b43740ffb (diff)
downloadnumpy-9424d3616d8c80b7f0b4dcf31ff3c335db76c0fa.tar.gz
Merge pull request #6808 from charris/fix-assert-in-tests
MAINT: Replace assert with assert_(...) in some tests.
Diffstat (limited to 'numpy/lib')
-rw-r--r--numpy/lib/tests/test_io.py6
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)