We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb8ebd2 commit c980bfeCopy full SHA for c980bfe
numpy/core/tests/test_umath_complex.py
@@ -1,4 +1,5 @@
1
import sys
2
+import platform
3
4
from numpy.testing import *
5
import numpy.core.umath as ncu
@@ -15,7 +16,9 @@
15
16
or (np.log(complex(np.NZERO, 0)).imag != np.pi))
17
# TODO: replace with a check on whether platform-provided C99 funcs are used
18
have_platform_functions = (sys.platform.startswith('win')
- or sys.platform.startswith('sunos'))
19
+ or sys.platform.startswith('sunos')
20
+ or (sys.platform == 'darwin' and 'powerpc' in
21
+ platform.processor()))
22
skip_complex_tests = have_platform_functions and functions_seem_flaky
23
24
def platform_skip(func):
0 commit comments