File tree 1 file changed +4
-6
lines changed
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:
69
69
session .new_window (
70
70
attach = True ,
71
71
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' ,
73
73
)
74
74
pane = session .attached_window .attached_pane
75
75
assert pane is not None
76
76
pane_contents = "\n " .join (pane .capture_pane ())
77
- assert pane_contents == '$'
77
+ assert pane_contents == "$"
78
78
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
82
80
)
83
81
pane_contents = "\n " .join (pane .capture_pane ())
84
82
assert pane_contents == r'$ printf "\n%s\n" "Hello World !"{}' .format (
85
- ' \n \n Hello World !\n $'
83
+ " \n \n Hello World !\n $"
86
84
)
You can’t perform that action at this time.
0 commit comments