summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorINADA Naoki <songofacandy@gmail.com>2010-10-07 03:04:00 +0900
committerINADA Naoki <songofacandy@gmail.com>2010-10-07 03:04:00 +0900
commit4e3c620d367a99eabf2e28d8a6fd371fa33b5dcf (patch)
tree628e0d0cf402cf0d88f92fc0fdc9e29344cf4efb
parent9db35d88316dc652d371de2f1fd3a82e9d285f70 (diff)
downloadmsgpack-python-4e3c620d367a99eabf2e28d8a6fd371fa33b5dcf.tar.gz
Fix testcase for unicode.
-rw-r--r--test3/test_case.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/test3/test_case.py b/test3/test_case.py
index 53dfcaf..2f42316 100644
--- a/test3/test_case.py
+++ b/test3/test_case.py
@@ -98,5 +98,8 @@ def test_match():
for v, p in cases:
match(v, p)
+def test_unicode():
+ assert_equal(b'foobar', unpacks(packs('foobar')))
+
if __name__ == '__main__':
main()