mirror of
https://github.com/micropython/micropython.git
synced 2026-01-07 20:50:14 +01:00
This improves REPL usage consistency across ports, by utilizing the pyexec code for the unix REPL. Only enabled when MICROPY_USE_READLINE == 1 (the default). Signed-off-by: Andrew Leech <andrew.leech@planetinnovation.com.au>
6 lines
84 B
Python
6 lines
84 B
Python
# cmdline:
|
|
# test sys.exit() functionality and exit codes
|
|
import sys
|
|
|
|
sys.exit(123)
|