Fix error on packing unsigned long long.

This commit is contained in:
Naoki INADA
2009-06-29 10:09:04 +09:00
parent fe2421275d
commit 9015bd4ecf
2 changed files with 22 additions and 14 deletions

View File

@@ -7,7 +7,7 @@ from msgpack import packs, unpacks
def check(length, obj):
v = packs(obj)
assert_equal(len(v), length)
assert_equal(len(v), length, "%r length should be %r but get %r" % (obj, length, len(v)))
assert_equal(unpacks(v), obj)
def test_1():