mirror of
https://github.com/python/cpython.git
synced 2025-11-28 22:18:54 +00:00
Disabled test_404, see issue #1572
This commit is contained in:
parent
e7f9f46514
commit
99d73f2ce7
1 changed files with 2 additions and 3 deletions
|
|
@ -328,12 +328,11 @@ class SimpleServerTestCase(unittest.TestCase):
|
||||||
# protocol error; provide additional information in test output
|
# protocol error; provide additional information in test output
|
||||||
self.fail("%s\n%s" % (e, e.headers))
|
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
|
# send POST with httplib, it should return 404 header and
|
||||||
# 'Not Found' message.
|
# 'Not Found' message.
|
||||||
import pdb; pdb.set_trace()
|
|
||||||
conn = httplib.HTTPConnection('localhost', PORT)
|
conn = httplib.HTTPConnection('localhost', PORT)
|
||||||
conn.request(b'POST', b'/this-is-not-valid')
|
conn.request('POST', '/this-is-not-valid')
|
||||||
response = conn.getresponse()
|
response = conn.getresponse()
|
||||||
conn.close()
|
conn.close()
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue