Skip to content

Commit

Permalink
[test] update tags
Browse files Browse the repository at this point in the history
  • Loading branch information
Vipul-Cariappa committed Nov 9, 2024
1 parent e121b2d commit 76a87c4
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion test/test_datatypes.py
Original file line number Diff line number Diff line change
Expand Up @@ -1726,7 +1726,7 @@ def test33_pointer_to_array(self):
assert type(f) == AoS.Foo
assert type(bar.fArr[0]) == AoS.Foo

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

Expand Down
2 changes: 1 addition & 1 deletion test/test_doc_features.py
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ def test_unary_operators(sef):

pass

@mark.xfail(run=not IS_MAC_ARM, reason="Crashes with exception not being caught on Apple Silicon")
@mark.xfail(condition=IS_MAC, run=not IS_MAC_ARM, reason="Crashes with exception not being caught on Apple Silicon")
def test_x_inheritance(self):
import cppyy
from cppyy.gbl import Abstract, Concrete, call_abstract_method
Expand Down
4 changes: 2 additions & 2 deletions test/test_pythonify.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import py, os, sys
from pytest import raises, skip, mark
from .support import setup_make, pylong, ispypy, IS_CLANG_REPL, IS_MAC_ARM, IS_MAC_X86
from .support import setup_make, pylong, ispypy, IS_CLANG_REPL, IS_MAC_ARM, IS_MAC_X86, IS_MAC

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

# TODO: need ReferenceError on touching pl_a

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

Expand Down
2 changes: 1 addition & 1 deletion test/test_stltypes.py
Original file line number Diff line number Diff line change
Expand Up @@ -789,7 +789,7 @@ def test02_string_data_access(self):
assert c.m_string == s
assert c.get_string1() == s

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

Expand Down

0 comments on commit 76a87c4

Please sign in to comment.