numpy-1.26.4_fix-znver2-test-failure.patch 569 B

12345678910
  1. --- a/numpy/core/tests/test_umath_accuracy.py 2025-12-04 09:27:56.269542706 +0100
  2. +++ b/numpy/core/tests/test_umath_accuracy.py 2025-12-04 09:29:12.750446594 +0100
  3. @@ -18,6 +18,7 @@
  4. # only run on linux with AVX, also avoid old glibc (numpy/numpy#20448).
  5. runtest = (sys.platform.startswith('linux')
  6. and IS_AVX and not _glibc_older_than("2.17"))
  7. +runtest = False
  8. platform_skip = pytest.mark.skipif(not runtest,
  9. reason="avoid testing inconsistent platform "
  10. "library implementations")