summaryrefslogtreecommitdiff
path: root/numpy/ma
diff options
context:
space:
mode:
authorThomas Robitaille <thomas.robitaille@gmail.com>2012-11-22 20:56:35 +0100
committerThomas Robitaille <thomas.robitaille@gmail.com>2012-11-22 20:56:35 +0100
commitdadf5b992802edc6d286b2ea3fd8e446759ad998 (patch)
tree15c06918c7793103bd38fc9804b841e8305e4601 /numpy/ma
parentdba24990f8bef9a5a1e67ef86ff6c58d8f59082f (diff)
downloadnumpy-dadf5b992802edc6d286b2ea3fd8e446759ad998.tar.gz
Minor fix to fill_view test
Diffstat (limited to 'numpy/ma')
-rw-r--r--numpy/ma/tests/test_core.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/ma/tests/test_core.py b/numpy/ma/tests/test_core.py
index 160994d88..104c1028b 100644
--- a/numpy/ma/tests/test_core.py
+++ b/numpy/ma/tests/test_core.py
@@ -1593,7 +1593,7 @@ class TestFillingValues(TestCase):
# cast the fill_value, e.g. if taking an int64 view of an int32 array,
# in other cases, this cannot be done (e.g. int32 view of an int64
# array with a large fill_value).
- y = x.view(np.int32)
+ y = x.view(dtype=np.int32)
assert_(y.fill_value == 999999)
#------------------------------------------------------------------------------