From 789d8f07487f80c5b90ec9cbb1fcf99837ef3ace Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Mon, 9 Sep 2013 09:54:08 -0400 Subject: [PATCH] Fixed syntax error on Python 3.2; refs #20889. --- tests/httpwrappers/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)