diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2017-06-10 20:14:16 +0300 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2017-06-10 20:34:38 +0300 |
commit | 85d809d1f4e35a511e0a56b3411126e05a31c01b (patch) | |
tree | 8debfecd0a6b83b6ba3d7e087058eec39a7b3c79 /tests/extmod/uhashlib_sha256.py | |
parent | a2803b74f48849cb3a11fb492fee891044ecc1f4 (diff) | |
download | micropython-85d809d1f4e35a511e0a56b3411126e05a31c01b.tar.gz micropython-85d809d1f4e35a511e0a56b3411126e05a31c01b.zip |
tests: Convert remaining "sys.exit()" to "raise SystemExit".
Diffstat (limited to 'tests/extmod/uhashlib_sha256.py')
-rw-r--r-- | tests/extmod/uhashlib_sha256.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/extmod/uhashlib_sha256.py b/tests/extmod/uhashlib_sha256.py index ff51f2ffa5..3200e8f5cd 100644 --- a/tests/extmod/uhashlib_sha256.py +++ b/tests/extmod/uhashlib_sha256.py @@ -1,4 +1,3 @@ -import sys try: import uhashlib as hashlib except ImportError: @@ -8,7 +7,7 @@ except ImportError: # This is neither uPy, nor cPy, so must be uPy with # uhashlib module disabled. print("SKIP") - sys.exit() + raise SystemExit h = hashlib.sha256() |