circuitpython/tests/micropython/meminfo.py
Scott Shawcroft b057fb8a4b
codeformat
2021-04-19 22:22:44 -07:00

13 lines
289 B
Python

# tests meminfo functions in micropython module
import micropython
# these functions are not always available
if not hasattr(micropython, "mem_info"):
print("SKIP")
else:
micropython.mem_info()
micropython.mem_info(1)
micropython.qstr_info()
micropython.qstr_info(1)