lv_micropython/tests/misc/cexample_module.py

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
202 B
Python
Raw Normal View History

# test custom builtin module
try:
import cexample
except ImportError:
print("SKIP")
raise SystemExit
print(cexample)
d = dir(cexample)
d.index("add_ints")
print(cexample.add_ints(1, 3))