diff options
| author | Hood Chatham <roberthoodchatham@gmail.com> | 2022-11-10 11:54:21 -0800 |
|---|---|---|
| committer | Hood Chatham <roberthoodchatham@gmail.com> | 2022-11-11 02:52:06 -0800 |
| commit | 08c6e9c142e619ac5175b6a13342ba2f2c571ddd (patch) | |
| tree | 8be92e0f2d27dd9c888fde95c2dfe46a305ba892 /numpy/ma | |
| parent | 6aacc5167983d7c6f8689d7039294f2fc0d5f5fb (diff) | |
| download | numpy-08c6e9c142e619ac5175b6a13342ba2f2c571ddd.tar.gz | |
TST: Skip tests that are not currently supported in wasm
Diffstat (limited to 'numpy/ma')
| -rw-r--r-- | numpy/ma/tests/test_core.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/numpy/ma/tests/test_core.py b/numpy/ma/tests/test_core.py index f32038a01..028f64c61 100644 --- a/numpy/ma/tests/test_core.py +++ b/numpy/ma/tests/test_core.py @@ -21,7 +21,7 @@ import numpy.ma.core import numpy.core.fromnumeric as fromnumeric import numpy.core.umath as umath from numpy.testing import ( - assert_raises, assert_warns, suppress_warnings + assert_raises, assert_warns, suppress_warnings, IS_WASM ) from numpy import ndarray from numpy.compat import asbytes @@ -4365,6 +4365,7 @@ class TestMaskedArrayFunctions: assert_equal(test, ctrl) assert_equal(test.mask, ctrl.mask) + @pytest.mark.skipif(IS_WASM, reason="fp errors don't work in wasm") def test_where(self): # Test the where function x = np.array([1., 1., 1., -2., pi/2.0, 4., 5., -10., 10., 1., 2., 3.]) |
