diff options
author | Rui Pereira <rui.pereira@gmail.com> | 2011-09-08 09:06:52 +0200 |
---|---|---|
committer | Ralf Gommers <ralf.gommers@googlemail.com> | 2011-09-08 22:53:35 +0200 |
commit | 073bc39c58a6788ffda6aaa7549955cc3d4fdc93 (patch) | |
tree | 6d437446957db61999d994bd2bd3036908ac7cc9 /numpy | |
parent | d07f06233f8c79dbc4abebdfe24d0bdfe62f3cc9 (diff) | |
download | numpy-073bc39c58a6788ffda6aaa7549955cc3d4fdc93.tar.gz |
TST: skip umath complex tests on all platforms except linux. Closes #1926.
Diffstat (limited to 'numpy')
-rw-r--r-- | numpy/core/tests/test_umath_complex.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/numpy/core/tests/test_umath_complex.py b/numpy/core/tests/test_umath_complex.py index 5cc5d9566..4fe0faa59 100644 --- a/numpy/core/tests/test_umath_complex.py +++ b/numpy/core/tests/test_umath_complex.py @@ -19,11 +19,7 @@ try: 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, |