Permalink
Browse files

Fixed syntax error on Python 3.2; refs #20889.

  • Loading branch information...
1 parent cbf08c6 commit 789d8f07487f80c5b90ec9cbb1fcf99837ef3ace @timgraham timgraham committed Sep 9, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/httpwrappers/tests.py
View
2 tests/httpwrappers/tests.py
@@ -296,7 +296,7 @@ def test_long_line(self):
h = HttpResponse()
f = 'zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz a\xcc\x88'.encode('latin-1')
f = f.decode('utf-8')
- h['Content-Disposition'] = u'attachment; filename="%s"' % f
+ h['Content-Disposition'] = 'attachment; filename="%s"' % f
def test_newlines_in_headers(self):
# Bug #10188: Do not allow newlines in headers (CR or LF)

0 comments on commit 789d8f0

Please sign in to comment.