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 4d05870 commit f8b56d1Copy full SHA for f8b56d1
bpython/test/test_curtsies_painting.py
@@ -450,3 +450,16 @@ def test_cursor_stays_at_bottom_of_screen(self):
450
u"'random'",
451
u">>> "]
452
self.assert_paint_ignoring_formatting(screen, (2, 4))
453
+
454
+ def test_unhighlight_paren_bug(self):
455
+ """infobox showing up during intermediate render was causing this to fail, #371"""
456
+ self.enter('(')
457
+ screen = [u">>> (",
458
+ u"... "]
459
+ self.assert_paint_ignoring_formatting(screen)
460
461
+ with output_to_repl(self.repl):
462
+ self.repl.process_event(')')
463
+ screen = fsarray([cyan(u">>> ")+yellow('('),
464
+ green(u"... ")+yellow(')')])
465
+ self.assert_paint(screen, (1, 3))
0 commit comments