diff options
author | Chris Sidebottom <chris.sidebottom@arm.com> | 2023-05-02 17:43:21 +0100 |
---|---|---|
committer | Chris Sidebottom <chris.sidebottom@arm.com> | 2023-05-02 17:43:21 +0100 |
commit | 51dac47609b5873232cca2cd34c00e2a2e0aec28 (patch) | |
tree | 5ccfb37cbcf7d76a28231ad04aa983dd80c184f6 | |
parent | 9bbd76af79d1c3657d24fce1eba6086e5038e4df (diff) | |
download | numpy-51dac47609b5873232cca2cd34c00e2a2e0aec28.tar.gz |
xfail underflowing scalar sin
-rw-r--r-- | numpy/core/tests/test_umath.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/numpy/core/tests/test_umath.py b/numpy/core/tests/test_umath.py index 0fc5d93f9..b4f8d0c69 100644 --- a/numpy/core/tests/test_umath.py +++ b/numpy/core/tests/test_umath.py @@ -1437,6 +1437,10 @@ class TestSpecialFloats: assert_equal(np.cos(yf), xf) @pytest.mark.skipif(IS_WASM, reason="fp errors don't work in wasm") + @pytest.mark.xfail( + sys.platform.startswith("darwin"), + reason="underflow is triggered for scalar 'sin'" + ) def test_sincos_underflow(self): with np.errstate(under='raise'): underflow_trigger = np.array( |