summaryrefslogtreecommitdiff
path: root/tests/micropython/meminfo.py
blob: 957f061f1539ae1f5df41314161cc74071e17e69 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# tests meminfo functions in micropython module

import micropython

# these functions are not always available
if not hasattr(micropython, "mem_info"):
    print("SKIP")
    raise SystemExit

micropython.mem_info()
micropython.mem_info(1)
micropython.qstr_info()
micropython.qstr_info(1)