Issue #20155: Fix non-buildbot test failure on Windows. Patch by Claudiu Popa,

revised by R. David Murray.
This commit is contained in:
Terry Jan Reedy 2014-10-18 17:10:09 -04:00
parent f87f515057
commit dd09efdd53

View File

@ -333,7 +333,7 @@ class SimpleHTTPServerTestCase(BaseTestCase):
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='custom')
self.check_status_and_reason(response, 501)
response = self.request('/', method='GETs')
self.check_status_and_reason(response, 501)