running tests enables us to discover that they actually work

This commit is contained in:
Benjamin Peterson 2011-07-30 23:39:39 -05:00
parent d741d2b2ab
commit 3facb8cc1a

View file

@ -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)