Skip to content

Commit 9479451

Browse files
committed
Mark new failures from added upstream tests on OS X
1 parent 15705c1 commit 9479451

File tree

4 files changed

+5
-0
lines changed

4 files changed

+5
-0
lines changed

test/test_crossinheritance.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1793,6 +1793,7 @@ def f3(self):
17931793
assert pysub.f3() == "Python: PySub::f3()"
17941794
assert ns.call_fs(pysub) == pysub.f1() + pysub.f2() + pysub.f3()
17951795

1796+
@mark.xfail(condition=IS_MAC, reason="Fails on OS X")
17961797
def test38_protected_data(self):
17971798
"""Multiple cross inheritance with protected data"""
17981799

test/test_datatypes.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2343,6 +2343,7 @@ def test48_bool_typemap(self):
23432343
assert str(bt(1)) == 'True'
23442344
assert str(bt(0)) == 'False'
23452345

2346+
@mark.xfail(condition=IS_MAC and IS_CLANG_REPL, reason="Fails on OS X with Clang-Repl")
23462347
def test49_addressof_method(self):
23472348
"""Use of addressof for (const) methods"""
23482349

test/test_overloads.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,7 @@ class MyClass3 {
260260
with raises(TypeError):
261261
ns.MyClass3("some_file")
262262

263+
@mark.xfail(condition=IS_MAC, reason="Fails on OS X")
263264
def test11_deep_inheritance(self):
264265
"""Prioritize expected most derived class"""
265266

test/test_regression.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1297,6 +1297,7 @@ def test42_char_arrays_consistence(self):
12971297
assert foo.pointers[0] == 'hello'
12981298
assert foo.pointers[1] == 'world!'
12991299

1300+
@mark.xfail(condition=IS_MAC, reason="Fails on OS X")
13001301
def test43_static_with_default(self):
13011302
"""Call a static method with default args on an instance"""
13021303

@@ -1360,6 +1361,7 @@ def test44_heuristic_mem_policy(self):
13601361
finally:
13611362
cppyy._backend.SetMemoryPolicy(old_memory_policy)
13621363

1364+
@mark.xfail(condition=IS_MAC, reason="Fails on OS X")
13631365
def test45_typedef_resolution(self):
13641366
"""Typedefs starting with 'c'"""
13651367

0 commit comments

Comments
 (0)