summaryrefslogtreecommitdiff
path: root/test/test_buffer.py
diff options
context:
space:
mode:
authorJoel Nothman <joel.nothman@gmail.com>2012-10-04 11:31:40 +1000
committerJoel Nothman <joel.nothman@gmail.com>2012-10-04 11:31:40 +1000
commitdf4f23779d14f2b41e9a5ecca0a06e21385cc603 (patch)
treebf03928d8eb40e9f5391eb49676001a32b83f39e /test/test_buffer.py
parente7c51d9089e9270ce197c00a6af1c60e45f36e97 (diff)
parentd5f99959cc2ec393c13fc9e44714351272bac7fc (diff)
downloadmsgpack-python-df4f23779d14f2b41e9a5ecca0a06e21385cc603.tar.gz
Merge commit 'd5f9995' into read_bytes
Conflicts: msgpack/_msgpack.pyx
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()