2015-04-04 22:05:30 +01:00
|
|
|
# tests meminfo functions in micropython module
|
|
|
|
|
|
|
|
import micropython
|
|
|
|
|
|
|
|
# these functions are not always available
|
2021-03-15 19:27:36 +05:30
|
|
|
if not hasattr(micropython, "mem_info"):
|
|
|
|
print("SKIP")
|
2015-04-04 22:05:30 +01:00
|
|
|
else:
|
|
|
|
micropython.mem_info()
|
|
|
|
micropython.mem_info(1)
|
|
|
|
micropython.qstr_info()
|
|
|
|
micropython.qstr_info(1)
|