diff options
| author | Tim Graham <timograham@gmail.com> | 2013-09-09 09:54:08 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2013-09-09 09:54:08 -0400 |
| commit | 789d8f07487f80c5b90ec9cbb1fcf99837ef3ace (patch) | |
| tree | 0a313b41985beffb93eaab0b32ebbd82a90bfcc4 | |
| parent | cbf08c6b0ca39406cada4bd1ffc6d334a79822e8 (diff) | |
Fixed syntax error on Python 3.2; refs #20889.
| -rw-r--r-- | tests/httpwrappers/tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/httpwrappers/tests.py b/tests/httpwrappers/tests.py index 0d9611ef0e..17bb98e24d 100644 --- a/tests/httpwrappers/tests.py +++ b/tests/httpwrappers/tests.py @@ -296,7 +296,7 @@ class HttpResponseTests(unittest.TestCase): 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) |
