Skip to content

Commit 314dc12

Browse files
committed
expect the correct platform-dependent linesep
1 parent 73b8b1c commit 314dc12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_httpservers.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,7 @@ def test_os_environ_is_not_altered(self):
463463

464464
def test_urlquote_decoding_in_cgi_check(self):
465465
res = self.request('/cgi-bin%2ffile1.py')
466-
self.assertEqual((b'Hello World\n', 'text/html', 200),
466+
self.assertEqual((b'Hello World' + self.linesep, 'text/html', 200),
467467
(res.read(), res.getheader('Content-type'), res.status))
468468

469469

0 commit comments

Comments
 (0)