Merge branch '0.2-maint' (fix #39)

This commit is contained in:
INADA Naoki 2012-12-22 13:04:39 +09:00
commit 833b85f173
4 changed files with 22 additions and 3 deletions

View file

@ -46,7 +46,7 @@ def test_foobar_skip():
assert 1, "ok"
def test_maxbuffersize():
nose.tools.assert_raises(ValueError, Unpacker, read_size=5, max_buffer_size=3)
nose.tools.assert_raises(ValueError, Unpacker, read_size=5, max_buffer_size=3, use_list=1)
unpacker = Unpacker(read_size=3, max_buffer_size=3, use_list=1)
unpacker.feed(b'fo')
nose.tools.assert_raises(BufferFull, unpacker.feed, b'ob')