From 367f15c247bf37beb37e2a81d1d707bc8ef2e085 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. --- test/test_case.py | 3 +++ 1 file changed, 3 insertions(+) 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()