Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
fae95874
Commit
fae95874
authored
Dec 17, 2018
by
Vajrasky Kok
Committed by
Serhiy Storchaka
Dec 17, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bpo-18799: Resurrect test_404 in test_xmlrpc. (GH-11196)
parent
e9912703
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
Lib/test/test_xmlrpc.py
Lib/test/test_xmlrpc.py
+2
-3
No files found.
Lib/test/test_xmlrpc.py
View file @
fae95874
...
...
@@ -818,11 +818,10 @@ class SimpleServerTestCase(BaseServerTestCase):
# protocol error; provide additional information in test output
self
.
fail
(
"%s
\
n
%s"
%
(
e
,
getattr
(
e
,
"headers"
,
""
)))
# [ch] The test 404 is causing lots of false alarms.
def
XXXtest_404
(
self
):
def
test_404
(
self
):
# send POST with http.client, it should return 404 header and
# 'Not Found' message.
conn
=
http
lib
.
client
.
HTTPConnection
(
ADDR
,
PORT
)
conn
=
http
.
client
.
HTTPConnection
(
ADDR
,
PORT
)
conn
.
request
(
'POST'
,
'/this-is-not-valid'
)
response
=
conn
.
getresponse
()
conn
.
close
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment