diff options
author | Tim Burgess <timburgess@mac.com> | 2013-05-29 10:40:40 +1000 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2014-03-28 13:24:45 -0600 |
commit | 06aafa56b25ba15063b3cbc701eb67b352d1e14f (patch) | |
tree | 2829dc6517530870ec229d089c13e97a338f9249 /numpy/testing/numpytest.py | |
parent | 46767a2ffc6bf7b3c6841bd9b10f1f26543d22b7 (diff) | |
download | numpy-06aafa56b25ba15063b3cbc701eb67b352d1e14f.tar.gz |
BUG: Fix for issue #3213
Two changes to numpy.ma.core._check_fill_value:
1. When the fill value is a string and the array type is not one of
'OSUV', raise TypeError instead of using the default fill value.
2. When the fill value overflows the type, raise TypeError instead
of OverflowError.
Closes #3213.
Diffstat (limited to 'numpy/testing/numpytest.py')
0 files changed, 0 insertions, 0 deletions