diff --git a/bindings/pyroot/cppyy/cppyy/test/test_datatypes.py b/bindings/pyroot/cppyy/cppyy/test/test_datatypes.py index a26d5892ae72a..71e26dd1d9b22 100644 --- a/bindings/pyroot/cppyy/cppyy/test/test_datatypes.py +++ b/bindings/pyroot/cppyy/cppyy/test/test_datatypes.py @@ -1,16 +1,10 @@ import sys, pytest, os from pytest import mark, raises, skip -from support import setup_make, pylong, pyunicode, IS_MAC, IS_MAC_ARM, IS_WINDOWS, has_cpp_20 +from support import setup_make, pylong, pyunicode, IS_MAC, IS_MAC_ARM, IS_WINDOWS test_dct = "datatypes_cxx" -def is_modules_off(): - import cppyy - - return "runtime_cxxmodules" not in cppyy.gbl.gROOT.GetConfigFeatures() - - class TestDATATYPES: def setup_class(cls): import cppyy @@ -2345,8 +2339,7 @@ def test48_bool_typemap(self): assert str(bt(1)) == 'True' assert str(bt(0)) == 'False' - @mark.xfail(strict=True, run=not IS_WINDOWS, condition=IS_MAC_ARM or (not has_cpp_20() and is_modules_off()), reason="Crashes on mac-beta ARM64 and fails on Windows \ - assertion error for runtime_cxxmodules=OFF build that is explained in GitHub issue #21005") + @mark.xfail(strict=True, run=not IS_WINDOWS, condition=IS_MAC_ARM, reason="Crashes on mac-beta ARM64 and fails on Windows") def test49_addressof_method(self): """Use of addressof for (const) methods"""