summaryrefslogtreecommitdiff
path: root/test/test_buffer.py
diff options
context:
space:
mode:
authorINADA Naoki <inada-n@klab.com>2012-09-24 02:12:55 +0900
committerINADA Naoki <inada-n@klab.com>2012-09-24 02:38:54 +0900
commitd503788e9537498ff2ed0da1f836dc4de6074981 (patch)
tree0b060a16d0b08ea4c22e7c057e41664acd00700c /test/test_buffer.py
parentc3da8458681fc479233910d4c92dc84374e5efed (diff)
downloadmsgpack-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.py4
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()