File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -69,18 +69,16 @@ def test_capture_pane(session: Session) -> None:
6969 session .new_window (
7070 attach = True ,
7171 window_name = "capture_pane" ,
72- window_shell = 'env -i PS1="$ " /usr/bin/env bash --norc --noprofile'
72+ window_shell = 'env -i PS1="$ " /usr/bin/env bash --norc --noprofile' ,
7373 )
7474 pane = session .attached_window .attached_pane
7575 assert pane is not None
7676 pane_contents = "\n " .join (pane .capture_pane ())
77- assert pane_contents == '$'
77+ assert pane_contents == "$"
7878 pane .send_keys (
79- r'printf "\n%s\n" "Hello World !"' ,
80- literal = True ,
81- suppress_history = False
79+ r'printf "\n%s\n" "Hello World !"' , literal = True , suppress_history = False
8280 )
8381 pane_contents = "\n " .join (pane .capture_pane ())
8482 assert pane_contents == r'$ printf "\n%s\n" "Hello World !"{}' .format (
85- ' \n \n Hello World !\n $'
83+ " \n \n Hello World !\n $"
8684 )
You can’t perform that action at this time.
0 commit comments