Commit 314dc126 authored by Benjamin Peterson's avatar Benjamin Peterson

expect the correct platform-dependent linesep

parent 73b8b1cd
......@@ -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))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment