@@ -310,20 +310,22 @@ def assert_last_line(p, s):
310
310
return correct
311
311
312
312
for i , pane in enumerate (session .attached_window .panes ):
313
- assert assert_last_line (pane , str (i )), \
314
- "Initial command did not execute properly/" + str (i )
313
+ assert assert_last_line (pane , str (i )), (
314
+ "Initial command did not execute properly/" + str (i )
315
+ )
315
316
pane .cmd ('send-keys' , 'Up' ) # Will repeat echo
316
317
pane .enter () # in each iteration
317
318
assert assert_last_line (pane , str (i )), (
318
- "Repeated command did not execute properly/" + str (i )
319
+ "Repeated command did not execute properly/" + str (i )
319
320
)
320
321
321
322
session .cmd ('send-keys' , ' echo moo' )
322
323
session .cmd ('send-keys' , 'Enter' )
323
324
324
325
for pane in session .attached_window .panes :
325
- assert assert_last_line (pane , 'moo' ), \
326
- "Synchronized command did not execute properly"
326
+ assert assert_last_line (pane , 'moo' ), (
327
+ "Synchronized command did not execute properly"
328
+ )
327
329
328
330
329
331
def test_window_shell (session ):
0 commit comments