[pypy-commit] pypy default: test ip6-loopback here too

bdkearns noreply at buildbot.pypy.org
Fri Mar 22 00:35:39 CET 2013


Author: Brian Kearns <bdkearns at gmail.com>
Branch: 
Changeset: r62620:ec25836976ee
Date: 2013-03-21 19:35 -0400
http://bitbucket.org/pypy/pypy/changeset/ec25836976ee/

Log:	test ip6-loopback here too

diff --git a/pypy/module/_socket/test/test_sock_app.py b/pypy/module/_socket/test/test_sock_app.py
--- a/pypy/module/_socket/test/test_sock_app.py
+++ b/pypy/module/_socket/test/test_sock_app.py
@@ -32,7 +32,7 @@
         assert space.unwrap(ip) == socket.gethostbyname_ex(host)
 
 def test_gethostbyaddr():
-    for host in ["localhost", "127.0.0.1"]:
+    for host in ["localhost", "127.0.0.1", "::1"]:
         ip = space.appexec([w_socket, space.wrap(host)],
                            "(_socket, host): return _socket.gethostbyaddr(host)")
         assert space.unwrap(ip) == socket.gethostbyaddr(host)


More information about the pypy-commit mailing list