mirror of
https://github.com/msgpack/msgpack-python.git
synced 2025-11-07 21:11:00 +00:00
fallback: python3 bugfix for new testcase of d2f549a4
Signed-off-by: Bas Westerbaan <bas@westerbaan.name>
This commit is contained in:
parent
d2f549a470
commit
b9e9199eea
1 changed files with 1 additions and 1 deletions
|
|
@ -20,7 +20,7 @@ def test_partialdata():
|
||||||
unpacker.feed(b'l')
|
unpacker.feed(b'l')
|
||||||
with raises(StopIteration): next(iter(unpacker))
|
with raises(StopIteration): next(iter(unpacker))
|
||||||
unpacker.feed(b'o')
|
unpacker.feed(b'o')
|
||||||
assert next(iter(unpacker)) == 'hallo'
|
assert next(iter(unpacker)) == b'hallo'
|
||||||
|
|
||||||
def test_foobar():
|
def test_foobar():
|
||||||
unpacker = Unpacker(read_size=3, use_list=1)
|
unpacker = Unpacker(read_size=3, use_list=1)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue