Skip to content

Commit f1c1946

Browse files
Vipul-Cariappaaaronj0
authored andcommitted
[test] update tags
fixed by compiler-research/CPyCppyy#67
1 parent e121b2d commit f1c1946

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

test/test_datatypes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1726,7 +1726,7 @@ def test33_pointer_to_array(self):
17261726
assert type(f) == AoS.Foo
17271727
assert type(bar.fArr[0]) == AoS.Foo
17281728

1729-
@mark.xfail
1729+
@mark.xfail(condition=IS_MAC, reason="Fails in OSX")
17301730
def test34_object_pointers(self):
17311731
"""Read/write access to objects through pointers"""
17321732

test/test_doc_features.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ def test_unary_operators(sef):
387387

388388
pass
389389

390-
@mark.xfail(run=not IS_MAC_ARM, reason="Crashes with exception not being caught on Apple Silicon")
390+
@mark.xfail(condition=IS_MAC, run=not IS_MAC_ARM, reason="Crashes with exception not being caught on Apple Silicon")
391391
def test_x_inheritance(self):
392392
import cppyy
393393
from cppyy.gbl import Abstract, Concrete, call_abstract_method

test/test_pythonify.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import py, os, sys
22
from pytest import raises, skip, mark
3-
from .support import setup_make, pylong, ispypy, IS_CLANG_REPL, IS_MAC_ARM, IS_MAC_X86
3+
from .support import setup_make, pylong, ispypy, IS_CLANG_REPL, IS_MAC_ARM, IS_MAC_X86, IS_MAC
44

55
currpath = py.path.local(__file__).dirpath()
66
test_dct = str(currpath.join("example01Dict"))
@@ -244,7 +244,7 @@ def test09_memory(self):
244244

245245
# TODO: need ReferenceError on touching pl_a
246246

247-
@mark.xfail
247+
@mark.xfail(condition=IS_MAC, reason="Fails in OSX")
248248
def test10_default_arguments(self):
249249
"""Test propagation of default function arguments"""
250250

test/test_stltypes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -789,7 +789,7 @@ def test02_string_data_access(self):
789789
assert c.m_string == s
790790
assert c.get_string1() == s
791791

792-
@mark.xfail
792+
@mark.xfail(condition=IS_MAC, reason="Fails in OSX")
793793
def test03_string_with_null_character(self):
794794
"""Test that strings with NULL do not get truncated"""
795795

0 commit comments

Comments
 (0)