@@ -98,7 +98,7 @@ def test_history_is_cleared(self):
9898
9999class TestCurtsiesPaintingSimple (CurtsiesPaintingTest ):
100100def test_startup (self ):
101- screen = fsarray ([cyan (">>> " ), cyan ( "Welcome to" ) ])
101+ screen = fsarray ([cyan (">>> " )])
102102self .assert_paint (screen , (0 ,4 ))
103103
104104def 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 )
119118self .assert_paint (screen , (0 ,9 ))
@@ -124,7 +123,7 @@ def test_run_line(self):
124123sys .stdout = self .repl .stdout
125124 [self .repl .add_normal_character (c )for c in "1 + 1" ]
126125self .repl .on_enter (new_code = False )
127- screen = fsarray ([">>> 1 + 1" ,"2" , "Welcome to" ])
126+ screen = fsarray ([">>> 1 + 1" ,"2" ])
128127self .assert_paint_ignoring_formatting (screen , (1 ,1 ))
129128finally :
130129sys .stdout = orig_stdout
@@ -135,19 +134,10 @@ def test_completion(self):
135134self .cursor_offset = 2
136135screen = 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 )
153143self .assert_paint_ignoring_formatting (screen , (0 ,4 ))