We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8863a0f commit 6ef4507Copy full SHA for 6ef4507
Lib/test/test_socket.py
@@ -1017,8 +1017,10 @@ def test_host_resolution(self):
1017
1018
def test_host_resolution_bad_address(self):
1019
# These are all malformed IP addresses and expected not to resolve to
1020
- # any result. But some ISPs, e.g. AWS, may successfully resolve these
1021
- # IPs.
+ # any result. But some ISPs, e.g. AWS and AT&T, may successfully
+ # resolve these IPs. In particular, AT&T's DNS Error Assist service
1022
+ # will break this test. See https://bugs.python.org/issue42092 for a
1023
+ # workaround.
1024
explanation = (
1025
"resolving an invalid IP address did not raise OSError; "
1026
"can be caused by a broken DNS server"
0 commit comments