Skip to content
This repository was archived by the owner on Dec 27, 2023. It is now read-only.

Commit 3979280

Browse files
committed
Fix SSH test using str and not bytes
1 parent ce4605a commit 3979280

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ltp/tests/test_ssh.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def flush(self) -> None:
9191
buffer = MyBuffer()
9292
sut.stop(timeout=1, iobuffer=buffer)
9393

94-
assert buffer.data == b'ciao\n'
94+
assert buffer.data == 'ciao\n'
9595

9696
@pytest.mark.parametrize("enable", ["0", "1"])
9797
def test_sudo(self, config, enable):

0 commit comments

Comments
 (0)