We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c773c5d commit 5f67f77Copy full SHA for 5f67f77
IPython/core/tests/test_ultratb.py
@@ -350,12 +350,10 @@ def test_recursion_one_frame(self):
350
351
@recursionlimit(150)
352
def test_recursion_three_frames(self):
353
- with tt.AssertPrints(re.compile(
354
- r"\[\.\.\. skipping similar frames: "
355
- r"r3a at line 8 \(\d{2} times\), "
356
- r"r3b at line 11 \(\d{2} times\), "
357
- r"r3c at line 14 \(\d{2} times\)\]"
358
- )):
+ with tt.AssertPrints("[... skipping similar frames: "), \
+ tt.AssertPrints(re.compile(r"r3a at line 8 \(\d{2} times\)"), suppress=False), \
+ tt.AssertPrints(re.compile(r"r3b at line 11 \(\d{2} times\)"), suppress=False), \
+ tt.AssertPrints(re.compile(r"r3c at line 14 \(\d{2} times\)"), suppress=False):
359
ip.run_cell("r3o2()")
360
361
0 commit comments