Skip to content

Commit adef3a0

Browse files
committed
TST: Skip runs on macOS for cb aborts
1 parent c95c2f0 commit adef3a0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

numpy/f2py/tests/test_callback.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
import threading
66
import traceback
77
import time
8+
import platform
89

910
import numpy as np
1011
from numpy.testing import IS_PYPY
@@ -247,6 +248,9 @@ def bar(x):
247248

248249

249250
@pytest.mark.slow
251+
@pytest.mark.xfail(condition=(platform.system().lower() == 'darwin'),
252+
run=False,
253+
reason="Callback aborts cause CI failures on macOS")
250254
class TestCBFortranCallstatement(util.F2PyTest):
251255
sources = [util.getpath("tests", "src", "callback", "gh26681.f90")]
252256
options = ['--lower']

0 commit comments

Comments
 (0)