summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/test_sequnpack.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/test_sequnpack.py b/test/test_sequnpack.py
index 518b905..45f4cc7 100644
--- a/test/test_sequnpack.py
+++ b/test/test_sequnpack.py
@@ -87,12 +87,12 @@ def test_readbytes():
def test_issue124():
unpacker = Unpacker()
- unpacker.feed('\xa1?\xa1!')
- assert tuple(unpacker) == ('?', '!')
+ unpacker.feed(b'\xa1?\xa1!')
+ assert tuple(unpacker) == (b'?', b'!')
assert tuple(unpacker) == ()
- unpacker.feed("\xa1?\xa1")
- assert tuple(unpacker) == ('?',)
+ unpacker.feed(b"\xa1?\xa1")
+ assert tuple(unpacker) == (b'?',)
assert tuple(unpacker) == ()
- unpacker.feed("!")
- assert tuple(unpacker) == ('!',)
+ unpacker.feed(b"!")
+ assert tuple(unpacker) == (b'!',)
assert tuple(unpacker) == ()