Skip to content

Commit 5ada8e7

Browse files
aaronj0vgvassilev
authored andcommitted
Fix the classloading test
1 parent 4e34223 commit 5ada8e7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/test_aclassloader.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@
88
def setup_module(mod):
99
setup_make("example01")
1010

11-
1211
class TestACLASSLOADER:
1312

1413
def setup_class(cls):
14+
cls.test_dct = test_dct
1515
import cppyy
16+
cls.example01 = cppyy.load_reflection_info(cls.test_dct)
1617

17-
@mark.xfail
1818
def test01_class_autoloading(self):
19-
"""Test whether a class can be found through .rootmap."""
19+
"""Test whether a class can be found"""
2020
import cppyy
2121
example01_class = cppyy.gbl.example01
2222
assert example01_class

0 commit comments

Comments
 (0)