From dc61ec35ec2444c383b9862445b4b450fbc35d1c Mon Sep 17 00:00:00 2001 From: Senthil Kumaran Date: Thu, 1 Oct 2009 01:50:13 +0000 Subject: That's self.env.unset(k) and not env.unset(k) I was heading back to the problem. --- Lib/test/test_urllib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_urllib.py b/Lib/test/test_urllib.py index 266853e..c74b101 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 -- cgit v0.12