Skip to content

Commit c980bfe

Browse files
author
rgommers
committed
TST: mark cexp tests as knownfail on OS X PPC.
1 parent cb8ebd2 commit c980bfe

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

numpy/core/tests/test_umath_complex.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import sys
2+
import platform
23

34
from numpy.testing import *
45
import numpy.core.umath as ncu
@@ -15,7 +16,9 @@
1516
or (np.log(complex(np.NZERO, 0)).imag != np.pi))
1617
# TODO: replace with a check on whether platform-provided C99 funcs are used
1718
have_platform_functions = (sys.platform.startswith('win')
18-
or sys.platform.startswith('sunos'))
19+
or sys.platform.startswith('sunos')
20+
or (sys.platform == 'darwin' and 'powerpc' in
21+
platform.processor()))
1922
skip_complex_tests = have_platform_functions and functions_seem_flaky
2023

2124
def platform_skip(func):

0 commit comments

Comments
 (0)