diff options
Diffstat (limited to 'tests/misc/recursive_iternext.py')
-rw-r--r-- | tests/misc/recursive_iternext.py | 3 |
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. |