From: Senthil Kumaran Date: Thu, 1 Oct 2009 01:50:13 +0000 (+0000) Subject: That's self.env.unset(k) and not env.unset(k) I was heading back to the problem. X-Git-Tag: v2.7a1~433 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=dc61ec35ec2444c383b9862445b4b450fbc35d1c;p=python That's self.env.unset(k) and not env.unset(k) I was heading back to the problem. --- diff --git a/Lib/test/test_urllib.py b/Lib/test/test_urllib.py index 266853e8a9..c74b101713 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