[Python-checkins] cpython (3.2): expect the correct platform-dependent linesep
benjamin.peterson
python-checkins at python.org
Tue Jun 17 08:16:52 CEST 2014
http://hg.python.org/cpython/rev/77f227624cff
changeset: 91236:77f227624cff
branch: 3.2
parent: 91178:e47422855841
user: Benjamin Peterson <benjamin at python.org>
date: Mon Jun 16 23:15:50 2014 -0700
summary:
expect the correct platform-dependent linesep
files:
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
--- a/Lib/test/test_httpservers.py
+++ b/Lib/test/test_httpservers.py
@@ -463,7 +463,7 @@
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))
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list