[issue20155] Regression test test_httpservers fails, hangs on Windows
Claudiu Popa
report at bugs.python.org
Sun Jun 29 18:28:50 CEST 2014
Claudiu Popa added the comment:
Terry is right, this patch doesn't completely work. But with this fix the problem is solved:
diff -r 394e6bda5a70 Lib/test/test_httpservers.py
--- a/Lib/test/test_httpservers.py Sun Jun 29 15:56:21 2014 +0300
+++ b/Lib/test/test_httpservers.py Sun Jun 29 19:27:16 2014 +0300
@@ -306,7 +306,7 @@
response = self.request('/', method='FOO')
self.check_status_and_reason(response, 501)
# requests must be case sensitive,so this should fail too
- response = self.request('/', method='get')
+ response = self.request('/', method='gets')
self.check_status_and_reason(response, 501)
response = self.request('/', method='GETs')
self.check_status_and_reason(response, 501)
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20155>
_______________________________________
More information about the Python-bugs-list
mailing list