The test runner expects `print("SKIP")` to be followed by
`raise SystemExit`. Otherwise it waits for 10 seconds for the target to
do a soft reset before timing out and continuing.
Signed-off-by: Damien George <damien@micropython.org>
13 lines
289 B
Python
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")
|
|
raise SystemExit
|
|
|
|
micropython.mem_info()
|
|
micropython.mem_info(1)
|
|
micropython.qstr_info()
|
|
micropython.qstr_info(1)
|