]> granicus.if.org Git - python/commitdiff
Disabled test_404, see issue #1572
authorChristian Heimes <christian@cheimes.de>
Sat, 8 Dec 2007 16:13:06 +0000 (16:13 +0000)
committerChristian Heimes <christian@cheimes.de>
Sat, 8 Dec 2007 16:13:06 +0000 (16:13 +0000)
Lib/test/test_xmlrpc.py

index 75a69e8920af773204718f12cce933a535aaafc8..79496c5ae6f85393dad7a32e53269893990c05a7 100644 (file)
@@ -328,12 +328,11 @@ class SimpleServerTestCase(unittest.TestCase):
             # protocol error; provide additional information in test output
             self.fail("%s\n%s" % (e, e.headers))
 
-    def test_404(self):
+    def DISABLED_test_404(self):
         # send POST with httplib, it should return 404 header and
         # 'Not Found' message.
-        import pdb; pdb.set_trace()
         conn = httplib.HTTPConnection('localhost', PORT)
-        conn.request(b'POST', b'/this-is-not-valid')
+        conn.request('POST', '/this-is-not-valid')
         response = conn.getresponse()
         conn.close()