Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit f8b56d1

Browse filesBrowse files
add failing test
1 parent 4d05870 commit f8b56d1
Copy full SHA for f8b56d1

1 file changed

+13Lines changed: 13 additions & 0 deletions

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎bpython/test/test_curtsies_painting.py‎

Copy file name to clipboardExpand all lines: bpython/test/test_curtsies_painting.py
+13Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -450,3 +450,16 @@ def test_cursor_stays_at_bottom_of_screen(self):
450450
u"'random'",
451451
u">>> "]
452452
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

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.