]> granicus.if.org Git - python/commitdiff
That's self.env.unset(k) and not env.unset(k) I was heading back to the problem.
authorSenthil Kumaran <orsenthil@gmail.com>
Thu, 1 Oct 2009 01:50:13 +0000 (01:50 +0000)
committerSenthil Kumaran <orsenthil@gmail.com>
Thu, 1 Oct 2009 01:50:13 +0000 (01:50 +0000)
Lib/test/test_urllib.py

index 266853e8a943e30f12ab3cf20acbffcee91a69df..c74b101713c9d90990450f3b7a5b53759c141d3b 100644 (file)
@@ -103,7 +103,7 @@ class ProxyTests(unittest.TestCase):
         # Delete all proxy related env vars
         for k, v in os.environ.iteritems():
             if 'proxy' in k.lower():
-                env.unset(k)
+                self.env.unset(k)
 
     def tearDown(self):
         # Restore all proxy related env vars