venv
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -23,7 +23,7 @@ import numpy._core.fromnumeric as fromnumeric
|
||||
import numpy._core.umath as umath
|
||||
from numpy.exceptions import AxisError
|
||||
from numpy.testing import (
|
||||
assert_raises, assert_warns, suppress_warnings, IS_WASM
|
||||
assert_raises, assert_warns, suppress_warnings, IS_WASM, temppath
|
||||
)
|
||||
from numpy.testing._private.utils import requires_memory
|
||||
from numpy import ndarray
|
||||
@@ -1019,8 +1019,9 @@ class TestMaskedArray:
|
||||
xm = masked_array([1, 2, 3], mask=[False, True, False])
|
||||
# Test case to check the NotImplementedError.
|
||||
# It is not implemented at this point of time. We can change this in future
|
||||
with pytest.raises(NotImplementedError):
|
||||
np.save('xm.np', xm)
|
||||
with temppath(suffix='.npy') as path:
|
||||
with pytest.raises(NotImplementedError):
|
||||
np.save(path, xm)
|
||||
|
||||
|
||||
class TestMaskedArrayArithmetic:
|
||||
|
||||
Reference in New Issue
Block a user