Skip to content

Commit

Permalink
fix testUnicodeInput
Browse files Browse the repository at this point in the history
  • Loading branch information
anandology committed May 8, 2009
1 parent 2bf214e commit 9b27481
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/application.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ def POST(self, path):
app = web.application(urls, locals())

def f(name):
path = '/?' + urllib.urlencode({"name": name})
path = '/?' + urllib.urlencode({"name": name.encode('utf-8')})
self.assertEquals(app.request(path).data, repr(name))

f(u'\u1234')
Expand Down

0 comments on commit 9b27481

Please sign in to comment.