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
8213eadd
Commit
8213eadd
authored
Sep 20, 2018
by
Berker Peksag
Committed by
GitHub
Sep 20, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bpo-19756: Prevent test failures due to EADDRNOTAVAIL (GH-9446)
parent
b10a64d1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
Lib/test/support/__init__.py
Lib/test/support/__init__.py
+3
-0
No files found.
Lib/test/support/__init__.py
View file @
8213eadd
...
@@ -1426,6 +1426,9 @@ def transient_internet(resource_name, *, timeout=30.0, errnos=()):
...
@@ -1426,6 +1426,9 @@ def transient_internet(resource_name, *, timeout=30.0, errnos=()):
(
'EHOSTUNREACH'
,
113
),
(
'EHOSTUNREACH'
,
113
),
(
'ENETUNREACH'
,
101
),
(
'ENETUNREACH'
,
101
),
(
'ETIMEDOUT'
,
110
),
(
'ETIMEDOUT'
,
110
),
# socket.create_connection() fails randomly with
# EADDRNOTAVAIL on Travis CI.
(
'EADDRNOTAVAIL'
,
99
),
]
]
default_gai_errnos
=
[
default_gai_errnos
=
[
(
'EAI_AGAIN'
,
-
3
),
(
'EAI_AGAIN'
,
-
3
),
...
...
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