]> 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:02 +0000 (17:10 -0400)
committerTerry Jan Reedy <tjreedy@udel.edu>
Sat, 18 Oct 2014 21:10:02 +0000 (17:10 -0400)
revised by R. David Murray.

Lib/test/test_httpservers.py

index f776b07678fcb0f2d2af7c818158b9694a2be259..bd26140dce9c392bc0213bc811ecf9270806610c 100644 (file)
@@ -349,7 +349,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)