From ab89e4c75c119a30d14c3c2dda5e145994c1f855 Mon Sep 17 00:00:00 2001 From: Aaron Jomy <75925957+aaronj0@users.noreply.github.com> Date: Wed, 13 Nov 2024 09:19:25 +0100 Subject: [PATCH] Try forcing reload of cppyy --- test/test_stltypes.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/test_stltypes.py b/test/test_stltypes.py index e46e4771..429b5d76 100644 --- a/test/test_stltypes.py +++ b/test/test_stltypes.py @@ -195,7 +195,9 @@ def getslice_cpython_test(type2test): class TestSTLVECTOR: def setup_class(cls): cls.test_dct = test_dct + from importlib import reload import cppyy + reload(cppyy) cls.stltypes = cppyy.load_reflection_info(cls.test_dct) cls.N = cppyy.gbl.N