summaryrefslogtreecommitdiff
path: root/tests/test_functional/test_recognition.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_functional/test_recognition.py')
-rw-r--r--tests/test_functional/test_recognition.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/test_functional/test_recognition.py b/tests/test_functional/test_recognition.py
index 798e678..2ea2016 100644
--- a/tests/test_functional/test_recognition.py
+++ b/tests/test_functional/test_recognition.py
@@ -37,12 +37,11 @@ class TestRecognition(unittest.TestCase):
def test_unicode(self):
hoge = u'\u30c6\u30b9\u30c8' # the word test in Japanese
- hoge_enc = hoge.encode('utf-8')
m = Mapper(explicit=False)
m.minimization = True
m.connect(':hoge')
eq_({'controller': 'content', 'action': 'index', 'hoge': hoge},
- m.match('/' + hoge_enc))
+ m.match('/' + hoge))
def test_disabling_unicode(self):
hoge = u'\u30c6\u30b9\u30c8' # the word test in Japanese