Skip to content

Commit 7bfe6e2

Browse files
[test] update tags (#138)
`test01_instance_data_read_access` fixed by compiler-research/cppyy-backend#128 (enum changes) others fixed by compiler-research/CPyCppyy#82 & compiler-research/CppInterOp#502
1 parent ae9f33b commit 7bfe6e2

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

test/test_datatypes.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ def setup_class(cls):
2121
cls.has_byte = at_least_17
2222
cls.has_optional = at_least_17
2323

24-
@mark.xfail(run=False, reason="Crashes")
2524
def test01_instance_data_read_access(self):
2625
"""Read access to instance public data and verify values"""
2726

@@ -1333,7 +1332,7 @@ def sum_in_python(i1, i2, i3):
13331332
ns = cppyy.gbl.FuncPtrReturn
13341333
assert ns.foo()() == "Hello, World!"
13351334

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")
13371336
def test27_callable_passing(self):
13381337
"""Passing callables through function pointers"""
13391338

@@ -1406,7 +1405,7 @@ def pyd(arg0, arg1):
14061405
gc.collect()
14071406
raises(TypeError, c, 3, 3) # lambda gone out of scope
14081407

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")
14101409
def test28_callable_through_function_passing(self):
14111410
"""Passing callables through std::function"""
14121411

test/test_doc_features.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ def test_enums(self):
261261

262262
pass
263263

264-
@mark.xfail(run=not IS_MAC, reason="Seg Fault")
264+
@mark.xfail(run=False, condition=IS_MAC, reason="Seg Fault")
265265
def test_functions(self):
266266
import cppyy
267267

0 commit comments

Comments
 (0)