[Python-checkins] cpython (merge 3.3 -> 3.4): merge 3.3

benjamin.peterson python-checkins at python.org
Mon Nov 3 21:13:36 CET 2014


https://hg.python.org/cpython/rev/a716afa8e23f
changeset:   93373:a716afa8e23f
branch:      3.4
parent:      93369:2afe5413d7af
parent:      93372:b5d92b52d494
user:        Benjamin Peterson <benjamin at python.org>
date:        Mon Nov 03 15:12:06 2014 -0500
summary:
  merge 3.3

files:
  Lib/test/test_socket.py |  7 ++++---
  1 files changed, 4 insertions(+), 3 deletions(-)


diff --git a/Lib/test/test_socket.py b/Lib/test/test_socket.py
--- a/Lib/test/test_socket.py
+++ b/Lib/test/test_socket.py
@@ -1291,9 +1291,10 @@
             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')

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list