Skip to content

Commit

Permalink
MAINT: Fix longdouble precision check.
Browse files Browse the repository at this point in the history
This is a partial reversion of numpy#20274. My guess is that
`glibc_older_than("2.19")` is not working correctly on manylinux2014
on aarch64.

Closes numpy#20426.
  • Loading branch information
charris committed Nov 21, 2021
1 parent cf5b4a4 commit 5a4ecc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion numpy/core/tests/test_umath.py
Original file line number Diff line number Diff line change
Expand Up @@ -3433,7 +3433,7 @@ def check(x, rtol):
x_series = np.logspace(-20, -3.001, 200)
x_basic = np.logspace(-2.999, 0, 10, endpoint=False)

if glibc_older_than("2.19") and dtype is np.longcomplex:
if dtype is np.longcomplex:
if (platform.machine() == 'aarch64' and bad_arcsinh()):
pytest.skip("Trig functions of np.longcomplex values known "
"to be inaccurate on aarch64 for some compilation "
Expand Down

0 comments on commit 5a4ecc0

Please sign in to comment.