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):
3737 cls .datatypes = cppyy .load_reflection_info (cls .test_dct )
3838 cls .N = cppyy .gbl .N
3939 # 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
4341
4442 def test01_load_reflection_cache (self ):
4543 """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):
3737 cls .datatypes = cppyy .load_reflection_info (cls .test_dct )
3838 cls .N = cppyy .gbl .N
3939 # 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
4341
4442 def test01_buffer_to_numpy (self ):
4543 """Wrap buffer with NumPy array"""
You can’t perform that action at this time.
0 commit comments