mirror of
https://github.com/msgpack/msgpack-python.git
synced 2026-02-07 02:09:59 +00:00
Fix error on packing unsigned long long.
This commit is contained in:
parent
fe2421275d
commit
9015bd4ecf
2 changed files with 22 additions and 14 deletions
|
|
@ -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():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue