summaryrefslogtreecommitdiff
path: root/numpy/tests/test_matlib.py
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/tests/test_matlib.py')
-rw-r--r--numpy/tests/test_matlib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/tests/test_matlib.py b/numpy/tests/test_matlib.py
index 3ff6cd7ed..11227b19a 100644
--- a/numpy/tests/test_matlib.py
+++ b/numpy/tests/test_matlib.py
@@ -24,7 +24,7 @@ def test_zeros():
assert_array_equal(numpy.matlib.zeros(2), np.matrix([[ 0., 0.]]))
def test_identity():
- x = numpy.matlib.identity(2, dtype=np.int)
+ x = numpy.matlib.identity(2, dtype=int)
assert_array_equal(x, np.matrix([[1, 0], [0, 1]]))
def test_eye():