@@ -98,7 +98,7 @@ def test_history_is_cleared(self):
9898
9999class TestCurtsiesPaintingSimple (CurtsiesPaintingTest ):
100100 def test_startup (self ):
101- screen = fsarray ([cyan (">>> " ), cyan ( "Welcome to" ) ])
101+ screen = fsarray ([cyan (">>> " )])
102102 self .assert_paint (screen , (0 , 4 ))
103103
104104 def test_enter_text (self ):
@@ -112,8 +112,7 @@ def test_enter_text(self):
112112 + yellow ("+" )
113113 + cyan (" " )
114114 + green ("1" )
115- ),
116- cyan ("Welcome to" ),
115+ )
117116 ]
118117 )
119118 self .assert_paint (screen , (0 , 9 ))
@@ -124,7 +123,7 @@ def test_run_line(self):
124123 sys .stdout = self .repl .stdout
125124 [self .repl .add_normal_character (c ) for c in "1 + 1" ]
126125 self .repl .on_enter (new_code = False )
127- screen = fsarray ([">>> 1 + 1" , "2" , "Welcome to" ])
126+ screen = fsarray ([">>> 1 + 1" , "2" ])
128127 self .assert_paint_ignoring_formatting (screen , (1 , 1 ))
129128 finally :
130129 sys .stdout = orig_stdout
@@ -135,19 +134,10 @@ def test_completion(self):
135134 self .cursor_offset = 2
136135 screen = self .process_box_characters (
137136 [
138- ">>> an" ,
139- "┌──────────────────────────────┐" ,
140- "│ and any( │" ,
141- "└──────────────────────────────┘" ,
142- "Welcome to bpython! Press <F1> f" ,
143- ]
144- if sys .version_info [:2 ] < (3 , 10 )
145- else [
146137 ">>> an" ,
147138 "┌──────────────────────────────┐" ,
148139 "│ and anext( any( │" ,
149140 "└──────────────────────────────┘" ,
150- "Welcome to bpython! Press <F1> f" ,
151141 ]
152142 )
153143 self .assert_paint_ignoring_formatting (screen , (0 , 4 ))
0 commit comments