@@ -21,7 +21,6 @@ def setup_class(cls):
21
21
cls .has_byte = at_least_17
22
22
cls .has_optional = at_least_17
23
23
24
- @mark .xfail (run = False , reason = "Crashes" )
25
24
def test01_instance_data_read_access (self ):
26
25
"""Read access to instance public data and verify values"""
27
26
@@ -1333,7 +1332,7 @@ def sum_in_python(i1, i2, i3):
1333
1332
ns = cppyy .gbl .FuncPtrReturn
1334
1333
assert ns .foo ()() == "Hello, World!"
1335
1334
1336
- @mark .xfail (run = not ((( IS_CLANG_REPL and IS_MAC ) or (not IS_CLANG_REPL and IS_MAC )) ), reason = "Crashes" )
1335
+ @mark .xfail (run = False , condition = ( IS_CLANG_REPL and IS_MAC ) or (not IS_CLANG_REPL and IS_MAC ), reason = "Crashes" )
1337
1336
def test27_callable_passing (self ):
1338
1337
"""Passing callables through function pointers"""
1339
1338
@@ -1406,7 +1405,7 @@ def pyd(arg0, arg1):
1406
1405
gc .collect ()
1407
1406
raises (TypeError , c , 3 , 3 ) # lambda gone out of scope
1408
1407
1409
- @mark .xfail (run = not IS_MAC_ARM , reason = "Crashes with exception not being caught on Apple Silicon" )
1408
+ @mark .xfail (run = False , condition = IS_MAC_ARM , reason = "Crashes with exception not being caught on Apple Silicon" )
1410
1409
def test28_callable_through_function_passing (self ):
1411
1410
"""Passing callables through std::function"""
1412
1411
0 commit comments