summaryrefslogtreecommitdiff
path: root/test/test_buffer.py
diff options
context:
space:
mode:
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 ce7a72d..01310a0 100644
--- a/test/test_buffer.py
+++ b/test/test_buffer.py
@@ -7,10 +7,10 @@ from msgpack import packb, unpackb
def test_unpack_buffer():
from array import array
- buf = array('c')
+ buf = array('b')
buf.fromstring(packb(('foo', 'bar')))
obj = unpackb(buf)
- assert_equal(('foo', 'bar'), obj)
+ assert_equal((b'foo', b'bar'), obj)
if __name__ == '__main__':
main()