diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2017-03-11 01:16:26 +0100 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2017-03-11 01:17:02 +0100 |
commit | 3e321f1724b4e2deae2a7750c789c6423f5201c2 (patch) | |
tree | 3f6f8d8520ccd03fdac3ff38046da2bf6102e31c /tests/misc/recursive_iternext.py | |
parent | 12d0731b91d8e58ba20ec28adf2d6c1aa995d74a (diff) |
tests/misc/: Make few tests skippable.
Diffstat (limited to 'tests/misc/recursive_iternext.py')
-rw-r--r-- | tests/misc/recursive_iternext.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/misc/recursive_iternext.py b/tests/misc/recursive_iternext.py index 025fa425b..d90f17716 100644 --- a/tests/misc/recursive_iternext.py +++ b/tests/misc/recursive_iternext.py @@ -1,4 +1,14 @@ # This tests that recursion with iternext doesn't lead to segfault. +try: + enumerate + filter + map + max + zip +except: + import sys + print("SKIP") + sys.exit() # 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. |