Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(7)

Unified Diff: Lib/test/test_urllibnet.py

Issue 10639: reindent.py converts newlines to platform default
Patch Set: Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Lib/test/test_urllib2.py ('k') | Lib/test/test_urllib.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
--- a/Lib/test/test_urllibnet.py Tue Jul 26 09:37:46 2011 +0300
+++ b/Lib/test/test_urllibnet.py Mon Jul 25 09:47:18 2011 -0400
@@ -113,14 +113,6 @@
def test_bad_address(self):
# Make sure proper exception is raised when connecting to a bogus
# address.
- bogus_domain = "sadflkjsasf.i.nvali.d"
- try:
- socket.gethostbyname(bogus_domain)
- except socket.gaierror:
- pass
- else:
- # This happens with some overzealous DNS providers such as OpenDNS
- self.skipTest("%r should not resolve for test to work" % bogus_domain)
self.assertRaises(IOError,
# SF patch 809915: In Sep 2003, VeriSign started
# highjacking invalid .com and .net addresses to
« no previous file with comments | « Lib/test/test_urllib2.py ('k') | Lib/test/test_urllib.py » ('j') | no next file with comments »

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+