summaryrefslogtreecommitdiff
path: root/numpy/f2py/tests
diff options
context:
space:
mode:
authorTyler Reddy <tyler.je.reddy@gmail.com>2018-09-28 22:13:34 -0700
committerTyler Reddy <tyler.je.reddy@gmail.com>2018-09-28 22:13:34 -0700
commitfd053f66555a42cbc662489e48ea9ffd9e6a7e07 (patch)
tree5f770a2fc4e72317e7926cc597dd834c49142200 /numpy/f2py/tests
parent54985e3b172009c06362315536824402890b0a99 (diff)
downloadnumpy-fd053f66555a42cbc662489e48ea9ffd9e6a7e07.tar.gz
TST: add macos azure testing to CI.
Diffstat (limited to 'numpy/f2py/tests')
-rw-r--r--numpy/f2py/tests/test_semicolon_split.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/numpy/f2py/tests/test_semicolon_split.py b/numpy/f2py/tests/test_semicolon_split.py
index 2b0f32727..5452b5708 100644
--- a/numpy/f2py/tests/test_semicolon_split.py
+++ b/numpy/f2py/tests/test_semicolon_split.py
@@ -1,5 +1,8 @@
from __future__ import division, absolute_import, print_function
+import platform
+import pytest
+
from . import util
from numpy.testing import assert_equal
@@ -23,6 +26,10 @@ void foo(int* x) {{
end python module {module}
""".format(module=module_name)
+ @pytest.mark.skipif(platform.system() == 'Darwin',
+ reason="Prone to error when run with "
+ "numpy/f2py/tests on mac os, "
+ "but not when run in isolation")
def test_multiline(self):
assert_equal(self.module.foo(), 42)