From: Benjamin Peterson Date: Tue, 17 Jun 2014 06:15:50 +0000 (-0700) Subject: expect the correct platform-dependent linesep X-Git-Tag: v3.3.6rc1~15^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=314dc126ce45a5e1369b408645e5da480a05bc9d;p=python expect the correct platform-dependent linesep --- diff --git a/Lib/test/test_httpservers.py b/Lib/test/test_httpservers.py index bb75f78525..bed55e8153 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))