diff --git a/bindings/pyroot/cppyy/cppyy/test/test_fragile.py b/bindings/pyroot/cppyy/cppyy/test/test_fragile.py index 1586e796b9760..ca21f11c9e4e0 100644 --- a/bindings/pyroot/cppyy/cppyy/test/test_fragile.py +++ b/bindings/pyroot/cppyy/cppyy/test/test_fragile.py @@ -544,13 +544,12 @@ def get_errmsg(exc, allspace=allspace): assert "invaliddigit" in err assert "1aap=42;" in err - @mark.xfail(strict=True, condition=not IS_WINDOWS, reason="Fails on Windows") def test22_cppexec(self): """Interactive access to the Cling global scope""" import cppyy - cppyy.cppexec("int interactive_b = 4") + cppyy.cppdef("int interactive_b = 4;") assert cppyy.gbl.interactive_b == 4 with raises(SyntaxError):