Browse files

TST: skip umath complex tests on all platforms except linux. Closes #…

  • Loading branch information...
1 parent d07f062 commit 073bc39c58a6788ffda6aaa7549955cc3d4fdc93 @RuiPereira RuiPereira committed with rgommers Sep 8, 2011
Showing with 1 addition and 5 deletions.
  1. +1 −5 numpy/core/tests/test_umath_complex.py
View
6 numpy/core/tests/test_umath_complex.py
@@ -19,11 +19,7 @@
finally:
np.seterr(**olderr)
# TODO: replace with a check on whether platform-provided C99 funcs are used
-have_platform_functions = (sys.platform.startswith('sunos') or
- (sys.platform == 'darwin' and 'powerpc' in
- platform.processor()))
-skip_complex_tests = (sys.platform.startswith('win') or
- (have_platform_functions and functions_seem_flaky))
+skip_complex_tests = (not sys.platform.startswith('linux') or functions_seem_flaky)
def platform_skip(func):
return dec.skipif(skip_complex_tests,

0 comments on commit 073bc39

Please sign in to comment.