mirror of
https://github.com/msgpack/msgpack-c.git
synced 2025-04-01 09:24:51 +02:00
Add unicode testcase for Python2.
This commit is contained in:
parent
8467307239
commit
aa2a3e5b07
@ -98,5 +98,8 @@ def test_match():
|
|||||||
for v, p in cases:
|
for v, p in cases:
|
||||||
match(v, p)
|
match(v, p)
|
||||||
|
|
||||||
|
def test_unicode():
|
||||||
|
assert_equal('foobar', unpacks(packs(u'foobar')))
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
main()
|
main()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user