summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2011-07-31 04:39:39 (GMT)
committerBenjamin Peterson <benjamin@python.org>2011-07-31 04:39:39 (GMT)
commit3facb8cc1a60d5cffa733e8aeddb0433ddd01298 (patch)
tree4330cd01ecfb6f2d9267fa944e905af63df5a149 /Lib
parentd741d2b2abc02554c58befa8df19cdeeecdc8f6f (diff)
downloadcpython-3facb8cc1a60d5cffa733e8aeddb0433ddd01298.zip
cpython-3facb8cc1a60d5cffa733e8aeddb0433ddd01298.tar.gz
cpython-3facb8cc1a60d5cffa733e8aeddb0433ddd01298.tar.bz2
running tests enables us to discover that they actually work
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_urllib2net.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_urllib2net.py b/Lib/test/test_urllib2net.py
index 4894151..bd2c467 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)