summaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test_transport.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_transport.py b/tests/test_transport.py
index 485a18e8..fb83fd2f 100644
--- a/tests/test_transport.py
+++ b/tests/test_transport.py
@@ -246,7 +246,7 @@ class TransportTest(ParamikoTest):
chan = self.tc.open_session()
schan = self.ts.accept(1.0)
try:
- chan.exec_command('no')
+ chan.exec_command(b'command contains \xfc and is not a valid UTF-8 string')
self.assertTrue(False)
except SSHException:
pass