Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Feb 2, 2024
1 parent ea484cc commit e166d74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/channel_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def test_send_signal(ssh_channel):
ssh_channel.request_exec('bash -c \'trap "exit 1" SIGUSR1; echo ready; sleep 5; exit 0\'')

# Wait until the process is ready to receive signal
data = ""
data = ''
while not data.startswith('ready'):
ssh_channel.poll(timeout=1000)
data += ssh_channel.recv().decode('utf-8')
Expand Down

0 comments on commit e166d74

Please sign in to comment.