##// END OF EJS Templates
Allow repeated frames in any order in test
Alex Hall -
Show More
@@ -357,12 +357,10 b' def r3o2():'
357 357
358 358 @recursionlimit(150)
359 359 def test_recursion_three_frames(self):
360 with tt.AssertPrints(re.compile(
361 r"\[\.\.\. skipping similar frames: "
362 r"r3a at line 8 \(\d{2} times\), "
363 r"r3b at line 11 \(\d{2} times\), "
364 r"r3c at line 14 \(\d{2} times\)\]"
365 )):
360 with tt.AssertPrints("[... skipping similar frames: "), \
361 tt.AssertPrints(re.compile(r"r3a at line 8 \(\d{2} times\)"), suppress=False), \
362 tt.AssertPrints(re.compile(r"r3b at line 11 \(\d{2} times\)"), suppress=False), \
363 tt.AssertPrints(re.compile(r"r3c at line 14 \(\d{2} times\)"), suppress=False):
366 364 ip.run_cell("r3o2()")
367 365
368 366
General Comments 0
You need to be logged in to leave comments. Login now