Permalink
Browse files

Minor fix to fill_view test

  • Loading branch information...
1 parent dba2499 commit dadf5b992802edc6d286b2ea3fd8e446759ad998 @astrofrog astrofrog committed Nov 22, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 numpy/ma/tests/test_core.py
@@ -1593,7 +1593,7 @@ def test_fillvalue_in_view(self):
# 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)
#------------------------------------------------------------------------------

0 comments on commit dadf5b9

Please sign in to comment.