]> granicus.if.org Git - python/commitdiff
Fix for Issue7026. Making it self.env.unset
authorSenthil Kumaran <orsenthil@gmail.com>
Mon, 5 Oct 2009 04:16:26 +0000 (04:16 +0000)
committerSenthil Kumaran <orsenthil@gmail.com>
Mon, 5 Oct 2009 04:16:26 +0000 (04:16 +0000)
Lib/test/test_urllib.py

index 0870b53ea2d1d56dafb8a7de72316d851700b7a6..5f9744c4512f221f401a628484a1b7de724585a3 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