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
97751fa5
Commit
97751fa5
authored
Nov 03, 2014
by
Benjamin Peterson
Browse files
Options
Browse Files
Download
Plain Diff
merge 3.2
parents
9fc59c9f
863c962e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
Lib/test/test_socket.py
Lib/test/test_socket.py
+4
-3
No files found.
Lib/test/test_socket.py
View file @
97751fa5
...
...
@@ -1188,9 +1188,10 @@ class GeneralModuleTests(unittest.TestCase):
if
e
.
errno
==
socket
.
EAI_NODATA
:
self
.
skipTest
(
'internet access required for this test'
)
# these should all be successful
socket
.
gethostbyname
(
'испытание.python.org'
)
socket
.
gethostbyname_ex
(
'испытание.python.org'
)
socket
.
getaddrinfo
(
'испытание.python.org'
,
0
,
socket
.
AF_UNSPEC
,
socket
.
SOCK_STREAM
)
domain
=
'испытание.pythontest.net'
socket
.
gethostbyname
(
domain
)
socket
.
gethostbyname_ex
(
domain
)
socket
.
getaddrinfo
(
domain
,
0
,
socket
.
AF_UNSPEC
,
socket
.
SOCK_STREAM
)
# this may not work if the forward lookup choses the IPv6 address, as that doesn't
# have a reverse entry yet
# socket.gethostbyaddr('испытание.python.org')
...
...
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