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
08b50eb3
Commit
08b50eb3
authored
Jan 26, 2008
by
Neal Norwitz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
The OS X buildbot had errors with the unavailable exceptions disabled. Restore it.
parent
7c1be2a3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
8 deletions
+2
-8
Lib/test/test_xmlrpc.py
Lib/test/test_xmlrpc.py
+2
-8
No files found.
Lib/test/test_xmlrpc.py
View file @
08b50eb3
...
...
@@ -340,18 +340,12 @@ def http_server(evt, numrequests):
PORT
=
None
evt
.
set
()
# TODO(nnorwitz): 25-Jan-2008 since we now notify the test when the server
# is totally ready to serve, this function should not be necessary.
# It is disabled by returning False. If the buildbots don't show any
# failures for this test over the next week, all the code associated
# with this function should be removed. The code that needs to be removed
# is this function, the NOTE below, and the entire except body that
# calls this function.
# This function prevents errors like:
# <ProtocolError for localhost:57527/RPC2: 500 Internal Server Error>
def
is_unavailable_exception
(
e
):
'''Returns True if the given ProtocolError is the product of a server-side
exception caused by the 'temporarily unavailable' response sometimes
given by operations on non-blocking sockets.'''
return
False
# sometimes we get a -1 error code and/or empty headers
if
e
.
errcode
==
-
1
or
e
.
headers
is
None
:
...
...
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