summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
authorSebastian Berg <sebastianb@nvidia.com>2022-12-05 22:34:05 +0100
committerGitHub <noreply@github.com>2022-12-05 22:34:05 +0100
commit3a9500bafd4f376d631f3aafa940a25fcf9f4c8d (patch)
tree19409ebc4e4923536b0fd35b9de07c8234ecbbee /numpy
parentcfad62fd73c2a0f3d0dc4d73989071e331898a09 (diff)
parente33a161a0d749368f84f30f1c9b13b8df1060520 (diff)
downloadnumpy-3a9500bafd4f376d631f3aafa940a25fcf9f4c8d.tar.gz
Merge pull request #22737 from mattip/issue22712
TST: skip floating-point error test on wasm
Diffstat (limited to 'numpy')
-rw-r--r--numpy/core/tests/test_umath.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/numpy/core/tests/test_umath.py b/numpy/core/tests/test_umath.py
index 1160eca54..f21a88acd 100644
--- a/numpy/core/tests/test_umath.py
+++ b/numpy/core/tests/test_umath.py
@@ -1069,8 +1069,9 @@ class TestPower:
assert_complex_equal(np.power(zero, -p), cnan)
assert_complex_equal(np.power(zero, -1+0.2j), cnan)
- # Testing 0^{Non-zero} issue 18378
+ @pytest.mark.skipif(IS_WASM, reason="fp errors don't work in wasm")
def test_zero_power_nonzero(self):
+ # Testing 0^{Non-zero} issue 18378
zero = np.array([0.0+0.0j])
cnan = np.array([complex(np.nan, np.nan)])