From 5a4ecc0861d3116a068b63b4fc9f89e11d9bc225 Mon Sep 17 00:00:00 2001 From: Charles Harris Date: Sun, 21 Nov 2021 09:07:23 -0700 Subject: [PATCH] MAINT: Fix longdouble precision check. This is a partial reversion of #20274. My guess is that `glibc_older_than("2.19")` is not working correctly on manylinux2014 on aarch64. Closes #20426. --- numpy/core/tests/test_umath.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/numpy/core/tests/test_umath.py b/numpy/core/tests/test_umath.py index fc7c592f05f6..c0b26e75b2c8 100644 --- a/numpy/core/tests/test_umath.py +++ b/numpy/core/tests/test_umath.py @@ -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 "