From 194973b3190394d88ab083c89f4c0a4926d5e214 Mon Sep 17 00:00:00 2001 From: Aaron Jomy <75925957+maximusron@users.noreply.github.com> Date: Tue, 30 Apr 2024 10:29:37 +0200 Subject: [PATCH] Remark xfail on ctypes lowlevel test - Makes the run false if Cling --- test/test_lowlevel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_lowlevel.py b/test/test_lowlevel.py index 4822b502..bd2d111b 100644 --- a/test/test_lowlevel.py +++ b/test/test_lowlevel.py @@ -137,7 +137,7 @@ def test05_array_as_ref(self): f = array('f', [0]); ctd.set_float_r(f); assert f[0] == 5. f = array('d', [0]); ctd.set_double_r(f); assert f[0] == -5. - @mark.xfail(reason = "Valgrind detects memory leak with invalid delete[] operator") + @mark.xfail(run=not IS_CLANG_REPL, reason="Valgrind detects memory leak with invalid delete[] operator, crashes on Cling") def test06_ctypes_as_ref_and_ptr(self): """Use ctypes for pass-by-ref/ptr"""