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
ed04f42b
Commit
ed04f42b
authored
Jun 26, 2012
by
Antoine Pitrou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Try to fix failure of a Windows buildbot to capture name resolution errors.
parent
c14bae47
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
Lib/test/test_support.py
Lib/test/test_support.py
+3
-0
No files found.
Lib/test/test_support.py
View file @
ed04f42b
...
...
@@ -767,6 +767,9 @@ def transient_internet(resource_name, timeout=30.0, errnos=()):
(
'EAI_FAIL'
,
-
4
),
(
'EAI_NONAME'
,
-
2
),
(
'EAI_NODATA'
,
-
5
),
# Windows defines EAI_NODATA as 11001 but idiotic getaddrinfo()
# implementation actually returns WSANO_DATA i.e. 11004.
(
'WSANO_DATA'
,
11004
),
]
denied
=
ResourceDenied
(
"Resource '%s' is not available"
%
resource_name
)
...
...
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