Skip to content

Commit

Permalink
TST: revert xfail in test_umath.py
Browse files Browse the repository at this point in the history
This xfail was added in numpygh-24279 for 32-bit Python + MSVC when switching
to Meson and having temporarily no SIMD support. That is back now, so
this test passes again.

[skip circle] [skip cirrus] [skip travis]
  • Loading branch information
rgommers committed Aug 11, 2023
1 parent 4ec0182 commit 451099e
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions numpy/core/tests/test_umath.py
Original file line number Diff line number Diff line change
Expand Up @@ -1764,8 +1764,6 @@ def test_expm1(self):
np.log, np.log2, np.log10, np.reciprocal, np.arccosh
]

@pytest.mark.skipif(sys.platform == "win32" and sys.maxsize < 2**31 + 1,
reason='failures on 32-bit Python, see FIXME below')
@pytest.mark.parametrize("ufunc", UFUNCS_UNARY_FP)
@pytest.mark.parametrize("dtype", ('e', 'f', 'd'))
@pytest.mark.parametrize("data, escape", (
Expand Down Expand Up @@ -1812,8 +1810,6 @@ def test_unary_spurious_fpexception(self, ufunc, dtype, data, escape):
# FIXME: NAN raises FP invalid exception:
# - ceil/float16 on MSVC:32-bit
# - spacing/float16 on almost all platforms
# FIXME: skipped on MSVC:32-bit during switch to Meson, 10 cases fail
# when SIMD support not present / disabled
if ufunc in (np.spacing, np.ceil) and dtype == 'e':
return
array = np.array(data, dtype=dtype)
Expand Down

0 comments on commit 451099e

Please sign in to comment.