summaryrefslogtreecommitdiffhomepage
path: root/tests/loop.py
diff options
context:
space:
mode:
authorScott Maxwell <scott@codecobblers.com>2013-10-31 15:25:45 -0700
committerScott Maxwell <scott@codecobblers.com>2013-10-31 15:25:45 -0700
commit7a45d3c70f6f308835ab66e3899e247e0efc17e7 (patch)
tree978d3cf01da97eabf7a7ad2d92c46160eca49422 /tests/loop.py
parent09a4ffb282957595b1eee7adaead5d0503a5f54a (diff)
More type conversion
Diffstat (limited to 'tests/loop.py')
-rw-r--r--tests/loop.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/loop.py b/tests/loop.py
index cfd76265..b2c73ddf 100644
--- a/tests/loop.py
+++ b/tests/loop.py
@@ -21,7 +21,7 @@
"""
import threading, socket
-from paramiko.py3compat import *
+from paramiko.common import *
class LoopSocket (object):
@@ -47,6 +47,7 @@ class LoopSocket (object):
self.__lock.release()
def send(self, data):
+ data = asbytes(data)
if self.__mate is None:
# EOF
raise EOFError()