File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -641,6 +641,7 @@ def test_cursor_stays_at_bottom_of_screen(self):
641641 def test_unhighlight_paren_bugs (self ):
642642 """two previous bugs, parent didn't highlight until next render
643643 and paren didn't unhighlight until enter"""
644+ self .repl .width = 32
644645 self .assertEqual (self .repl .rl_history .entries , ["" ])
645646 self .enter ("(" )
646647 self .assertEqual (self .repl .rl_history .entries , ["" ])
@@ -657,7 +658,8 @@ def test_unhighlight_paren_bugs(self):
657658 [
658659 cyan (">>> " ) + on_magenta (bold (red ("(" ))),
659660 green ("... " ) + on_magenta (bold (red (")" ))),
660- ]
661+ ],
662+ width = 32
661663 )
662664 self .assert_paint (screen , (1 , 5 ))
663665
@@ -667,7 +669,8 @@ def test_unhighlight_paren_bugs(self):
667669 [
668670 cyan (">>> " ) + yellow ("(" ),
669671 green ("... " ) + yellow (")" ) + bold (cyan (" " )),
670- ]
672+ ],
673+ width = 32
671674 )
672675 self .assert_paint (screen , (1 , 6 ))
673676
You can’t perform that action at this time.
0 commit comments