diff options
author | Benjamin Peterson <benjamin@python.org> | 2014-06-16 23:15:50 -0700 |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2014-06-16 23:15:50 -0700 |
commit | 448d9e6debbec8a33ed390c621b8b3807fba2b94 (patch) | |
tree | 70d00eeff8df9ebba3cf7ffac4207306bc24a8e8 | |
parent | fe7e62d71c9d59d9945395984198496c8b7e7e04 (diff) | |
download | cpython-448d9e6debbec8a33ed390c621b8b3807fba2b94.tar.gz |
expect the correct platform-dependent linesep
-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 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)) |