diff options
author | INADA Naoki <inada-n@klab.com> | 2012-09-24 02:12:55 +0900 |
---|---|---|
committer | INADA Naoki <inada-n@klab.com> | 2012-09-24 02:38:54 +0900 |
commit | d503788e9537498ff2ed0da1f836dc4de6074981 (patch) | |
tree | 0b060a16d0b08ea4c22e7c057e41664acd00700c /test/test_buffer.py | |
parent | c3da8458681fc479233910d4c92dc84374e5efed (diff) | |
download | msgpack-python-d503788e9537498ff2ed0da1f836dc4de6074981.tar.gz |
Warn when use_list is not specified.
Conflicts:
test/test_sequnpack.py
Diffstat (limited to 'test/test_buffer.py')
-rw-r--r-- | test/test_buffer.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_buffer.py b/test/test_buffer.py index 01310a0..785fb60 100644 --- a/test/test_buffer.py +++ b/test/test_buffer.py @@ -9,8 +9,8 @@ def test_unpack_buffer(): from array import array buf = array('b') buf.fromstring(packb(('foo', 'bar'))) - obj = unpackb(buf) - assert_equal((b'foo', b'bar'), obj) + obj = unpackb(buf, use_list=1) + assert_equal([b'foo', b'bar'], obj) if __name__ == '__main__': main() |