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
1351ee70
Commit
1351ee70
authored
Jun 11, 2014
by
R David Murray
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#14758: Fix the fix (fix getaddrinfo in mock_socket)
I forgot to run all the affected tests when I fixed smtpd.
parent
ba9fb0d8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
Lib/test/mock_socket.py
Lib/test/mock_socket.py
+3
-3
No files found.
Lib/test/mock_socket.py
View file @
1351ee70
...
...
@@ -144,8 +144,8 @@ def gethostname():
def
gethostbyname
(
name
):
return
""
def
getaddrinfo
(
host
,
port
):
return
socket_module
.
getaddrinfo
(
host
,
port
)
def
getaddrinfo
(
*
args
,
**
kw
):
return
socket_module
.
getaddrinfo
(
*
args
,
**
kw
)
gaierror
=
socket_module
.
gaierror
error
=
socket_module
.
error
...
...
@@ -154,6 +154,6 @@ error = socket_module.error
# Constants
AF_INET
=
socket_module
.
AF_INET
AF_INET6
=
socket_module
.
AF_INET6
SOCK_STREAM
=
None
SOCK_STREAM
=
socket_module
.
SOCK_STREAM
SOL_SOCKET
=
None
SO_REUSEADDR
=
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