[Python-checkins] cpython (2.7): running tests enables us to discover that they actually work

benjamin.peterson python-checkins at python.org
Sun Jul 31 06:39:52 CEST 2011


http://hg.python.org/cpython/rev/f9b6fb4f445d
changeset:   71654:f9b6fb4f445d
branch:      2.7
user:        Benjamin Peterson <benjamin at python.org>
date:        Sat Jul 30 23:39:39 2011 -0500
summary:
  running tests enables us to discover that they actually work

files:
  Lib/test/test_urllib2net.py |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Lib/test/test_urllib2net.py b/Lib/test/test_urllib2net.py
--- a/Lib/test/test_urllib2net.py
+++ b/Lib/test/test_urllib2net.py
@@ -191,7 +191,7 @@
         # 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)

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list