Show More
@@ -348,14 +348,14 b' def r3o2():' | |||
|
348 | 348 | with tt.AssertNotPrints("skipping similar frames"): |
|
349 | 349 | ip.run_cell("non_recurs()") |
|
350 | 350 | |
|
351 |
@recursionlimit( |
|
|
351 | @recursionlimit(200) | |
|
352 | 352 | def test_recursion_one_frame(self): |
|
353 | 353 | with tt.AssertPrints(re.compile( |
|
354 | r"\[\.\.\. skipping similar frames: r1 at line 5 \(\d{2} times\)\]") | |
|
354 | r"\[\.\.\. skipping similar frames: r1 at line 5 \(\d{2,3} times\)\]") | |
|
355 | 355 | ): |
|
356 | 356 | ip.run_cell("r1()") |
|
357 | 357 | |
|
358 |
@recursionlimit( |
|
|
358 | @recursionlimit(200) | |
|
359 | 359 | def test_recursion_three_frames(self): |
|
360 | 360 | with tt.AssertPrints("[... skipping similar frames: "), \ |
|
361 | 361 | tt.AssertPrints(re.compile(r"r3a at line 8 \(\d{2} times\)"), suppress=False), \ |
General Comments 0
You need to be logged in to leave comments.
Login now