mirror of
https://github.com/python/cpython.git
synced 2024-11-24 18:34:43 +08:00
Issue #20155: Fix non-buildbot test failure on Windows. Patch by Claudiu Popa,
revised by R. David Murray.
This commit is contained in:
parent
f87f515057
commit
dd09efdd53
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user