summaryrefslogtreecommitdiff
path: root/test/test_sequnpack.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_sequnpack.py')
-rw-r--r--test/test_sequnpack.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_sequnpack.py b/test/test_sequnpack.py
index 1da383c..9db14ca 100644
--- a/test/test_sequnpack.py
+++ b/test/test_sequnpack.py
@@ -20,7 +20,7 @@ def test_partialdata():
unpacker.feed(b'l')
with raises(StopIteration): next(iter(unpacker))
unpacker.feed(b'o')
- assert next(iter(unpacker)) == 'hallo'
+ assert next(iter(unpacker)) == b'hallo'
def test_foobar():
unpacker = Unpacker(read_size=3, use_list=1)