summaryrefslogtreecommitdiffstatshomepage
path: root/tests/misc/recursive_iternext.py
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2017-06-10 20:14:16 +0300
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2017-06-10 20:34:38 +0300
commit85d809d1f4e35a511e0a56b3411126e05a31c01b (patch)
tree8debfecd0a6b83b6ba3d7e087058eec39a7b3c79 /tests/misc/recursive_iternext.py
parenta2803b74f48849cb3a11fb492fee891044ecc1f4 (diff)
downloadmicropython-85d809d1f4e35a511e0a56b3411126e05a31c01b.tar.gz
micropython-85d809d1f4e35a511e0a56b3411126e05a31c01b.zip
tests: Convert remaining "sys.exit()" to "raise SystemExit".
Diffstat (limited to 'tests/misc/recursive_iternext.py')
-rw-r--r--tests/misc/recursive_iternext.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/misc/recursive_iternext.py b/tests/misc/recursive_iternext.py
index d90f177168..edb5a843f2 100644
--- a/tests/misc/recursive_iternext.py
+++ b/tests/misc/recursive_iternext.py
@@ -6,9 +6,8 @@ try:
max
zip
except:
- import sys
print("SKIP")
- sys.exit()
+ raise SystemExit
# We need to pick an N that is large enough to hit the recursion
# limit, but not too large that we run out of heap memory.