File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -37,9 +37,7 @@ def setup_class(cls):
37
37
cls .datatypes = cppyy .load_reflection_info (cls .test_dct )
38
38
cls .N = cppyy .gbl .N
39
39
# In new Cppyy, nullptr can't be found in gbl.
40
- # Take it from libcppyy (we could also use ROOT.nullptr)
41
- import libcppyy
42
- cls .nullptr = libcppyy .nullptr
40
+ cls .nullptr = cppyy ._backend .nullptr
43
41
44
42
def test01_load_reflection_cache (self ):
45
43
"""Loading reflection info twice should result in the same object"""
Original file line number Diff line number Diff line change @@ -37,9 +37,7 @@ def setup_class(cls):
37
37
cls .datatypes = cppyy .load_reflection_info (cls .test_dct )
38
38
cls .N = cppyy .gbl .N
39
39
# In new Cppyy, nullptr can't be found in gbl.
40
- # Take it from libcppyy (we could also use ROOT.nullptr)
41
- import libcppyy
42
- cls .nullptr = libcppyy .nullptr
40
+ cls .nullptr = cppyy ._backend .nullptr
43
41
44
42
def test01_buffer_to_numpy (self ):
45
43
"""Wrap buffer with NumPy array"""
You can’t perform that action at this time.
0 commit comments