summaryrefslogtreecommitdiffhomepage
path: root/tests/test_transport.py
diff options
context:
space:
mode:
authorAnselm Kruis <a.kruis@science-computing.de>2015-03-20 16:01:51 +0100
committerAnselm Kruis <a.kruis@science-computing.de>2015-03-20 16:01:51 +0100
commit94c20181dd8073e0cdbc83973c87e89c5f472d80 (patch)
treefdb45a8808d490897e66f611e121969a046add7d /tests/test_transport.py
parent063c394633567e8afd8980113690311337108c3c (diff)
Commit 838e02ab42 changed the type of the exec command string on python3
from unicode to bytes. This commit adapts the test suite accordingly.
Diffstat (limited to 'tests/test_transport.py')
-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 fb83fd2f..93d33099 100644
--- a/tests/test_transport.py
+++ b/tests/test_transport.py
@@ -72,7 +72,7 @@ class NullServer (ServerInterface):
return OPEN_SUCCEEDED
def check_channel_exec_request(self, channel, command):
- if command != 'yes':
+ if command != b'yes':
return False
return True