summaryrefslogtreecommitdiffstatshomepage
path: root/tests/micropython/meminfo.py
blob: 9df341fbb833484f7b85f2055ec6ba1f578bccdc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
# 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)