circuitpython/tests/micropython/meminfo.py

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

13 lines
289 B
Python
Raw Normal View History

# tests meminfo functions in micropython module
import micropython
# these functions are not always available
2021-03-15 09:57:36 -04:00
if not hasattr(micropython, "mem_info"):
print("SKIP")
else:
micropython.mem_info()
micropython.mem_info(1)
micropython.qstr_info()
micropython.qstr_info(1)