From 84673072396650520e24b5a770c11aa777f69557 Mon Sep 17 00:00:00 2001 From: INADA Naoki Date: Thu, 7 Oct 2010 03:04:00 +0900 Subject: [PATCH] Fix testcase for unicode. --- python/test3/test_case.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/python/test3/test_case.py b/python/test3/test_case.py index 53dfcaf..2f42316 100644 --- a/python/test3/test_case.py +++ b/python/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()