Skip to content

Commit fbddbc6

Browse files
committed
chore: Format
1 parent bdcb72f commit fbddbc6

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

tests/test_pane.py

+4-6
Original file line numberDiff line numberDiff 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\nHello World !\n$'
83+
"\n\nHello World !\n$"
8684
)

0 commit comments

Comments
 (0)