Loading adb/test_adb.py +6 −2 Original line number Diff line number Diff line Loading @@ -217,8 +217,12 @@ class NonApiTest(unittest.TestCase): ipv4.listen(1) ipv6 = socket.socket(socket.AF_INET6, socket.SOCK_STREAM) try: ipv6.bind(('::1', ipv4.getsockname()[1] + 1)) ipv6.listen(1) except socket.error: print("IPv6 not available, skipping") return for s in (ipv4, ipv6): port = s.getsockname()[1] Loading Loading
adb/test_adb.py +6 −2 Original line number Diff line number Diff line Loading @@ -217,8 +217,12 @@ class NonApiTest(unittest.TestCase): ipv4.listen(1) ipv6 = socket.socket(socket.AF_INET6, socket.SOCK_STREAM) try: ipv6.bind(('::1', ipv4.getsockname()[1] + 1)) ipv6.listen(1) except socket.error: print("IPv6 not available, skipping") return for s in (ipv4, ipv6): port = s.getsockname()[1] Loading