summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2007-12-08 16:13:06 (GMT)
committerChristian Heimes <christian@cheimes.de>2007-12-08 16:13:06 (GMT)
commit99d73f2ce7596be4f1b8909e7255acc5f03ca57b (patch)
treee1eeb9f3d60a60b637e7db3ee2ee0d8f0f824e3f /Lib/test
parente7f9f465145c995e3c7aa6aa9c731d5091e80837 (diff)
downloadcpython-99d73f2ce7596be4f1b8909e7255acc5f03ca57b.zip
cpython-99d73f2ce7596be4f1b8909e7255acc5f03ca57b.tar.gz
cpython-99d73f2ce7596be4f1b8909e7255acc5f03ca57b.tar.bz2
Disabled test_404, see issue #1572
Diffstat (limited to 'Lib/test')
-rw-r--r--Lib/test/test_xmlrpc.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/Lib/test/test_xmlrpc.py b/Lib/test/test_xmlrpc.py
index 75a69e8..79496c5 100644
--- a/Lib/test/test_xmlrpc.py
+++ b/Lib/test/test_xmlrpc.py
@@ -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()