Skip to content

Commit

Permalink
Minor fix to fill_view test
Browse files Browse the repository at this point in the history
  • Loading branch information
astrofrog committed Nov 22, 2012
1 parent dba2499 commit dadf5b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion numpy/ma/tests/test_core.py
Expand Up @@ -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, # 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 # in other cases, this cannot be done (e.g. int32 view of an int64
# array with a large fill_value). # array with a large fill_value).
y = x.view(np.int32) y = x.view(dtype=np.int32)
assert_(y.fill_value == 999999) assert_(y.fill_value == 999999)


#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
Expand Down

0 comments on commit dadf5b9

Please sign in to comment.