summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2014-06-17 06:15:50 (GMT)
committerBenjamin Peterson <benjamin@python.org>2014-06-17 06:15:50 (GMT)
commit314dc126ce45a5e1369b408645e5da480a05bc9d (patch)
treee7041dcc11803450af3bd0f97616bc5466b53974 /Lib
parent73b8b1cdb8beb44069aad44c5358aca4904fc103 (diff)
downloadcpython-314dc126ce45a5e1369b408645e5da480a05bc9d.zip
cpython-314dc126ce45a5e1369b408645e5da480a05bc9d.tar.gz
cpython-314dc126ce45a5e1369b408645e5da480a05bc9d.tar.bz2
expect the correct platform-dependent linesep
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_httpservers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_httpservers.py b/Lib/test/test_httpservers.py
index bb75f78..bed55e8 100644
--- a/Lib/test/test_httpservers.py
+++ b/Lib/test/test_httpservers.py
@@ -463,7 +463,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))