Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed syntax error on Python 3.2; refs #20889.

  • Loading branch information...
commit 789d8f07487f80c5b90ec9cbb1fcf99837ef3ace 1 parent cbf08c6
@timgraham timgraham authored
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)
Please sign in to comment.
Something went wrong with that request. Please try again.