From 3d9f8de2e1108d34da1cd00eaecbb8505e5261b5 Mon Sep 17 00:00:00 2001 From: Aaron Jomy <75925957+maximusron@users.noreply.github.com> Date: Fri, 7 Jun 2024 17:59:05 +0200 Subject: [PATCH] Fix the classloading test --- test/test_aclassloader.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/test_aclassloader.py b/test/test_aclassloader.py index 40372d64..16c21176 100644 --- a/test/test_aclassloader.py +++ b/test/test_aclassloader.py @@ -8,15 +8,15 @@ def setup_module(mod): setup_make("example01") - class TestACLASSLOADER: def setup_class(cls): + cls.test_dct = test_dct import cppyy + cls.example01 = cppyy.load_reflection_info(cls.test_dct) - @mark.xfail def test01_class_autoloading(self): - """Test whether a class can be found through .rootmap.""" + """Test whether a class can be found""" import cppyy example01_class = cppyy.gbl.example01 assert example01_class