fallback: python3 bugfix for new testcase of d2f549a4

Signed-off-by: Bas Westerbaan <bas@westerbaan.name>
This commit is contained in:
Bas Westerbaan 2013-01-29 03:03:13 +01:00
parent d2f549a470
commit b9e9199eea

View file

@ -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)