diff options
author | Raghuveer Devulapalli <raghuveer.devulapalli@intel.com> | 2019-07-23 19:55:27 -0700 |
---|---|---|
committer | Raghuveer Devulapalli <raghuveer.devulapalli@intel.com> | 2019-07-23 19:55:27 -0700 |
commit | e2a352fd075deb4de4f4f24506f3469ad1502ae4 (patch) | |
tree | e562f39680a799d4467fcd612ec5ae78a0c9f587 /numpy | |
parent | 742f3f1c38bc4e5c1da90b927806a24393611ec9 (diff) | |
download | numpy-e2a352fd075deb4de4f4f24506f3469ad1502ae4.tar.gz |
TEST: xfail if not x86_64 and linux
Diffstat (limited to 'numpy')
-rw-r--r-- | numpy/core/tests/test_umath_accuracy.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/numpy/core/tests/test_umath_accuracy.py b/numpy/core/tests/test_umath_accuracy.py index b248308d3..5d2373430 100644 --- a/numpy/core/tests/test_umath_accuracy.py +++ b/numpy/core/tests/test_umath_accuracy.py @@ -6,12 +6,12 @@ import pytest from ctypes import * from numpy.testing import assert_array_max_ulp -windows32bit = (sys.platform.startswith('win32') and sys.maxsize <= 2*32) -arm = platform.uname()[4].startswith('arm') -platform_skip = pytest.mark.skipif(windows32bit or arm, +runtest = sys.platform.startswith('linux') and (platform.machine() == 'x86_64') +platform_skip = pytest.mark.skipif(not runtest, reason=""" - AVX not supported by ARM and - libc on windows 32 bit fail these ULP tests + stick to x86_64 and linux platforms. + test seems to fail on some of ARM and power + archictures. """) # convert string to hex function taken from: |