Skip to content

Commit

Permalink
Merged in master (pull request #13)
Browse files Browse the repository at this point in the history
Fix import * of cppyy.ll

Approved-by: wlav
  • Loading branch information
sbacchio authored and wlav committed Jun 18, 2021
2 parents bdda01e + 2667269 commit dfe6961
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/cppyy/ll.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
'array_new',
'array_delete',
'signals_as_exception',
'set_signals_as_exception'
'FatalError'
'set_signals_as_exception',
'FatalError',
'BusError',
'SegmentationViolation',
'IllegalInstruction',
Expand Down
8 changes: 8 additions & 0 deletions test/test_lowlevel.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,14 @@ def setup_class(cls):
cls.datatypes = cppyy.load_reflection_info(cls.test_dct)
cls.N = cppyy.gbl.N

def test00_import_all(self):
"""Validity of `from cppyy.ll import *`"""

from cppyy import ll

for attr in ll.__all__:
assert hasattr(ll, attr)

def test01_llv_type(self):
"""Existence of LowLevelView type"""

Expand Down

0 comments on commit dfe6961

Please sign in to comment.