diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2017-06-10 20:03:01 +0300 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2017-06-10 20:03:01 +0300 |
commit | a2803b74f48849cb3a11fb492fee891044ecc1f4 (patch) | |
tree | 61d317e930bf7a9149638f61d41419b85b330981 /tests/basics/sys1.py | |
parent | 0161939ed1d99382296fee3827916d1fa58d3c20 (diff) | |
download | micropython-a2803b74f48849cb3a11fb492fee891044ecc1f4.tar.gz micropython-a2803b74f48849cb3a11fb492fee891044ecc1f4.zip |
tests/basics: Convert "sys.exit()" to "raise SystemExit".
Diffstat (limited to 'tests/basics/sys1.py')
-rw-r--r-- | tests/basics/sys1.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/basics/sys1.py b/tests/basics/sys1.py index 29ef974d14..0d74a1292b 100644 --- a/tests/basics/sys1.py +++ b/tests/basics/sys1.py @@ -20,7 +20,7 @@ except AttributeError: print(True) try: - sys.exit() + raise SystemExit except SystemExit as e: print("SystemExit", e.args) |