aboutsummaryrefslogtreecommitdiffstats
path: root/test/pathod/tutils.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/pathod/tutils.py')
-rw-r--r--test/pathod/tutils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/pathod/tutils.py b/test/pathod/tutils.py
index ccdd725b..daaa8628 100644
--- a/test/pathod/tutils.py
+++ b/test/pathod/tutils.py
@@ -20,7 +20,7 @@ def treader(bytes):
"""
Construct a tcp.Read object from bytes.
"""
- fp = StringIO(bytes)
+ fp = BytesIO(bytes)
return tcp.Reader(fp)