# Make sure proper exception is raised when connecting to a bogus
+ bogus_domain = "sadflkjsasf.i.nvali.d"
+ except socket.gaierror:
+ # This happens with some overzealous DNS providers such as OpenDNS
+ self.skipTest("%r should not resolve for test to work" % bogus_domain)
# SF patch 809915: In Sep 2003, VeriSign started
# highjacking invalid .com and .net addresses to