]> granicus.if.org Git - python/commitdiff
Issue #20155: Fix non-buildbot test failure on Windows. Patch by Claudiu Popa,
authorTerry Jan Reedy <tjreedy@udel.edu>
Sat, 18 Oct 2014 21:10:09 +0000 (17:10 -0400)
committerTerry Jan Reedy <tjreedy@udel.edu>
Sat, 18 Oct 2014 21:10:09 +0000 (17:10 -0400)
revised by R. David Murray.

Lib/test/test_httpservers.py

index f164054748f3fd95862741260ece1f04167b12ff..97713cd0431cb9a07bf8ae58f484fa52ea40f88d 100644 (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)