diff options
author | Benjamin Peterson <benjamin@python.org> | 2014-06-17 06:16:06 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2014-06-17 06:16:06 (GMT) |
commit | 0fd3972a3f8f9fcb9cecd30a608eea02d6b3b18e (patch) | |
tree | 094aaecc2973a52b5bc30aeef9dc0fe785bf159c /Lib/test/test_httpservers.py | |
parent | 6cd1954c5cff4b3722a183d13648c71b18259778 (diff) | |
parent | 314dc126ce45a5e1369b408645e5da480a05bc9d (diff) | |
download | cpython-0fd3972a3f8f9fcb9cecd30a608eea02d6b3b18e.zip cpython-0fd3972a3f8f9fcb9cecd30a608eea02d6b3b18e.tar.gz cpython-0fd3972a3f8f9fcb9cecd30a608eea02d6b3b18e.tar.bz2 |
merge 3.2
Diffstat (limited to 'Lib/test/test_httpservers.py')
-rw-r--r-- | Lib/test/test_httpservers.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_httpservers.py b/Lib/test/test_httpservers.py index 47c6796..07b9cd7 100644 --- a/Lib/test/test_httpservers.py +++ b/Lib/test/test_httpservers.py @@ -466,7 +466,7 @@ class CGIHTTPServerTestCase(BaseTestCase): def test_urlquote_decoding_in_cgi_check(self): res = self.request('/cgi-bin%2ffile1.py') - self.assertEqual((b'Hello World\n', 'text/html', 200), + self.assertEqual((b'Hello World' + self.linesep, 'text/html', 200), (res.read(), res.getheader('Content-type'), res.status)) |