Skip to content

Commit e21c390

Browse files
[cppyy] disable tests failing with mac-beta ARM64
1 parent 8d0908e commit e21c390

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

bindings/pyroot/cppyy/cppyy/test/test_cpp11features.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import py, sys, pytest, os
22
from pytest import mark, raises
3-
from support import setup_make, ispypy
3+
from support import setup_make, ispypy, IS_MAC_ARM
44

55

66
currpath = os.getcwd()
@@ -428,6 +428,7 @@ def test14_shared_ptr_passing(self):
428428
gc.collect()
429429
assert TestSmartPtr.s_counter == 0
430430

431+
@mark.xfail(condition=IS_MAC_ARM, reason="Fails on mac-beta ARM64")
431432
def test15_unique_ptr_template_deduction(self):
432433
"""Argument type deduction with std::unique_ptr"""
433434

@@ -447,6 +448,7 @@ def test15_unique_ptr_template_deduction(self):
447448
with raises(ValueError): # not an RValue
448449
cppyy.gbl.UniqueTempl.returnptr[int](uptr_in)
449450

451+
@mark.xfail(condition=IS_MAC_ARM, reason="Fails on mac-beta ARM64")
450452
def test16_unique_ptr_moves(self):
451453
"""std::unique_ptr requires moves"""
452454

bindings/pyroot/cppyy/cppyy/test/test_datatypes.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2356,6 +2356,7 @@ def test48_bool_typemap(self):
23562356
assert str(bt(1)) == 'True'
23572357
assert str(bt(0)) == 'False'
23582358

2359+
@mark.xfail(condition=IS_MAC_ARM, reason="Fails on mac-beta ARM64")
23592360
def test49_addressof_method(self):
23602361
"""Use of addressof for (const) methods"""
23612362

0 commit comments

Comments
 (0)