circuitpython/tests/micropython/stack_use.py
Damien George 125d19ce7b tests/micropython: Add missing SystemExit after printing SKIP.
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>
2025-07-12 23:32:28 +10:00

8 lines
205 B
Python

# tests stack_use function in micropython module
import micropython
if not hasattr(micropython, "stack_use"):
print("SKIP")
raise SystemExit
print(type(micropython.stack_use())) # output varies