summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorINADA Naoki <inada-n@klab.com>2012-12-22 13:09:35 +0900
committerINADA Naoki <inada-n@klab.com>2012-12-22 13:09:35 +0900
commitd796d696d193277504b76e4ba3144154bdc1163b (patch)
tree13947e66cbb062798ad8c18a7acd7930954e1b5c /test
parent833b85f1734a1f66ffc105f7272e402d68e661ed (diff)
downloadmsgpack-python-d796d696d193277504b76e4ba3144154bdc1163b.tar.gz
revert unwanted changes.
Diffstat (limited to 'test')
-rw-r--r--test/test_obj.py2
-rw-r--r--test/test_sequnpack.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/test_obj.py b/test/test_obj.py
index bfc9ab2..1d9024b 100644
--- a/test/test_obj.py
+++ b/test/test_obj.py
@@ -34,7 +34,7 @@ def test_decode_pairs_hook():
@raises(ValueError)
def test_only_one_obj_hook():
- unpackb(b'', object_hook=lambda x: x, object_pairs_hook=lambda x: x, use_list=1)
+ unpackb(b'', object_hook=lambda x: x, object_pairs_hook=lambda x: x)
@raises(ValueError)
def test_bad_hook():
diff --git a/test/test_sequnpack.py b/test/test_sequnpack.py
index ca4c8db..f767726 100644
--- a/test/test_sequnpack.py
+++ b/test/test_sequnpack.py
@@ -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, use_list=1)
+ nose.tools.assert_raises(ValueError, Unpacker, read_size=5, max_buffer_size=3)
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')