@@ -310,20 +310,22 @@ def assert_last_line(p, s):
310310 return correct
311311
312312 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+ )
315316 pane .cmd ('send-keys' , 'Up' ) # Will repeat echo
316317 pane .enter () # in each iteration
317318 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 )
319320 )
320321
321322 session .cmd ('send-keys' , ' echo moo' )
322323 session .cmd ('send-keys' , 'Enter' )
323324
324325 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+ )
327329
328330
329331def test_window_shell (session ):
0 commit comments