summaryrefslogtreecommitdiff
path: root/test/test_pack.py
diff options
context:
space:
mode:
authorINADA Naoki <songofacandy@gmail.com>2013-06-04 23:31:46 -0700
committerINADA Naoki <songofacandy@gmail.com>2013-06-04 23:31:46 -0700
commit2f6061cb4fa47efba022768d83ed6750030eec22 (patch)
tree8aba0db506a21618d86594f952e13435d9021ea4 /test/test_pack.py
parentd4bb86c0c8f5994b79b20b0e8c692f35cd389cdb (diff)
parente250b89920527d69e30566746a1ef12a2f43b25c (diff)
downloadmsgpack-python-2f6061cb4fa47efba022768d83ed6750030eec22.tar.gz
Merge pull request #66 from yamt/fixes
some fixes and tests
Diffstat (limited to 'test/test_pack.py')
-rw-r--r--test/test_pack.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/test_pack.py b/test/test_pack.py
index 3225f41..9dc5ada 100644
--- a/test/test_pack.py
+++ b/test/test_pack.py
@@ -12,11 +12,12 @@ from io import BytesIO
def check(data, use_list=False):
re = unpackb(packb(data), use_list=use_list)
assert re == data
+ assert type(re) == type(data)
def testPack():
test_data = [
- 0, 1, 127, 128, 255, 256, 65535, 65536,
- -1, -32, -33, -128, -129, -32768, -32769,
+ 0, 1, 127, 128, 255, 256, 65535, 65536, 4294967295, 4294967296,
+ -1, -32, -33, -128, -129, -32768, -32769, -4294967296, -4294967297,
1.0,
b"", b"a", b"a"*31, b"a"*32,
None, True, False,