diff options
author | INADA Naoki <songofacandy@gmail.com> | 2010-10-07 03:07:52 +0900 |
---|---|---|
committer | INADA Naoki <songofacandy@gmail.com> | 2010-10-07 03:07:52 +0900 |
commit | 367f15c247bf37beb37e2a81d1d707bc8ef2e085 (patch) | |
tree | d6c69855ca8ab12be727a677a9db9eedfe02cf39 | |
parent | 4e3c620d367a99eabf2e28d8a6fd371fa33b5dcf (diff) | |
download | msgpack-python-367f15c247bf37beb37e2a81d1d707bc8ef2e085.tar.gz |
Add unicode testcase for Python2.
-rw-r--r-- | test/test_case.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/test_case.py b/test/test_case.py index a08c6ce..1cbc494 100644 --- a/test/test_case.py +++ b/test/test_case.py @@ -98,5 +98,8 @@ def test_match(): for v, p in cases: match(v, p) +def test_unicode(): + assert_equal('foobar', unpacks(packs(u'foobar'))) + if __name__ == '__main__': main() |