From: Benjamin Peterson Date: Sun, 31 Jul 2011 04:39:39 +0000 (-0500) Subject: running tests enables us to discover that they actually work X-Git-Tag: v2.7.3rc1~551 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3facb8cc1a60d5cffa733e8aeddb0433ddd01298;p=python running tests enables us to discover that they actually work --- diff --git a/Lib/test/test_urllib2net.py b/Lib/test/test_urllib2net.py index 4894151cbe..bd2c46772e 100644 --- a/Lib/test/test_urllib2net.py +++ b/Lib/test/test_urllib2net.py @@ -191,7 +191,7 @@ class OtherNetworkTests(unittest.TestCase): # Verify that those work properly. (#issue12576) URL = 'http://www.imdb.com' # No Connection:close - with test_support.transient_internet(url): + with test_support.transient_internet(URL): req = urllib2.urlopen(URL) res = req.read() self.assertTrue(res)