@@ -1269,7 +1269,7 @@ def run(self, f, buf, total):
12691269 if self .has_byte :
12701270 run (self , cppyy .gbl .sum_byte_data , buf , total )
12711271
1272- @mark .xfail (run = not ((( IS_CLANG_REPL and IS_MAC ) or ( not IS_CLANG_REPL and IS_MAC ))) , reason = "Crashes" )
1272+ @mark .xfail (run = not (IS_MAC ), reason = "Crashes on OS X " )
12731273 def test26_function_pointers (self ):
12741274 """Function pointer passing"""
12751275
@@ -1332,7 +1332,7 @@ def sum_in_python(i1, i2, i3):
13321332 ns = cppyy .gbl .FuncPtrReturn
13331333 assert ns .foo ()() == "Hello, World!"
13341334
1335- @mark .xfail (run = False , condition = ( IS_CLANG_REPL and IS_MAC ) or ( not IS_CLANG_REPL and IS_MAC ) , reason = "Crashes" )
1335+ @mark .xfail (run = False , condition = IS_MAC , reason = "Crashes" )
13361336 def test27_callable_passing (self ):
13371337 """Passing callables through function pointers"""
13381338
@@ -2011,7 +2011,7 @@ class Atom {
20112011 assert b .name == "aap"
20122012 assert b .buf_type == ns .SHAPE
20132013
2014- @mark .xfail ( run = not IS_CLANG_REPL , reason = "Crashes" )
2014+ @mark .xfail
20152015 def test40_more_aggregates (self ):
20162016 """More aggregate testings (used to fail/report errors)"""
20172017
@@ -2049,7 +2049,6 @@ def test40_more_aggregates(self):
20492049 r2 = ns .make_R2 ()
20502050 assert r2 .s .x == 1
20512051
2052- @mark .xfail (run = False , reason = "Fails" )
20532052 def test41_complex_numpy_arrays (self ):
20542053 """Usage of complex numpy arrays"""
20552054
@@ -2097,7 +2096,7 @@ def pycompdot(a, b, N):
20972096 Ccl = func (Acl , Bcl , 2 )
20982097 assert complex (Ccl ) == pyCcl
20992098
2100- @mark .xfail
2099+ @mark .xfail ( condition = ( IS_MAC and not IS_CLANG_REPL ), reason = "Fails on OS X Cling" )
21012100 def test42_mixed_complex_arithmetic (self ):
21022101 """Mixin of Python and C++ std::complex in arithmetic"""
21032102
0 commit comments