summaryrefslogtreecommitdiff
path: root/tests/test_wsgiwrappers.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_wsgiwrappers.py')
-rw-r--r--tests/test_wsgiwrappers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_wsgiwrappers.py b/tests/test_wsgiwrappers.py
index 43210c2..bfdd4b3 100644
--- a/tests/test_wsgiwrappers.py
+++ b/tests/test_wsgiwrappers.py
@@ -96,7 +96,7 @@ def test_wsgirequest_charset_fileupload():
return []
app = TestApp(handle_fileupload)
- res = app.post('/', upload_files=[('thefile', '寿司.txt', b'Sushi')])
+ res = app.post('/', upload_files=[('thefile', u'寿司.txt'.encode('utf-8'), b'Sushi')])
def test_wsgiresponse_charset():
response = WSGIResponse(mimetype='text/html; charset=UTF-8')