From aa2a3e5b075f60c9c5143528ab6520c6231aec0a Mon Sep 17 00:00:00 2001 From: INADA Naoki Date: Thu, 7 Oct 2010 03:07:52 +0900 Subject: [PATCH] Add unicode testcase for Python2. --- python/test/test_case.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/python/test/test_case.py b/python/test/test_case.py index a08c6ce..1cbc494 100644 --- a/python/test/test_case.py +++ b/python/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()