From: Senthil Kumaran Date: Mon, 5 Oct 2009 04:16:26 +0000 (+0000) Subject: Fix for Issue7026. Making it self.env.unset X-Git-Tag: v2.6.4rc1~3 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f1250781326184cde36b41bcce44d0eacc3a5bd2;p=thirdparty%2FPython%2Fcpython.git Fix for Issue7026. Making it self.env.unset --- diff --git a/Lib/test/test_urllib.py b/Lib/test/test_urllib.py index 0870b53ea2d1..5f9744c4512f 100644 --- a/Lib/test/test_urllib.py +++ b/Lib/test/test_urllib.py @@ -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