]> granicus.if.org Git - python/commitdiff
Issue #25274: Workaround test_sys crash just to keep buildbots usable
authorVictor Stinner <victor.stinner@gmail.com>
Wed, 30 Sep 2015 00:02:49 +0000 (02:02 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Wed, 30 Sep 2015 00:02:49 +0000 (02:02 +0200)
Lib/test/test_sys.py

index 83549bc5376b8000a9141b7ddf733a1495cb1c86..ccbf262af8975575defea5d44b41abba02e52f22 100644 (file)
@@ -208,7 +208,10 @@ class SysModuleTest(unittest.TestCase):
         def f():
             f()
         try:
-            for i in (50, 1000):
+            # FIXME: workaround crash for the issue #25274
+            # FIXME: until the crash is fixed
+            #for i in (50, 1000):
+            for i in (150, 1000):
                 # Issue #5392: stack overflow after hitting recursion limit twice
                 sys.setrecursionlimit(i)
                 self.assertRaises(RecursionError, f)