From 91abd6e68dfa4b0d9d91d7c5c05d5d384c2b2718 Mon Sep 17 00:00:00 2001 From: Senthil Kumaran Date: Thu, 1 Oct 2009 01:07:03 +0000 Subject: [PATCH] Fix for issue7026 test_urllib: unsetting missing 'env' variable. --- 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 9320c6243b..6eaefa234c 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(): - del env[k] + del self.env[k] def tearDown(self): # Restore all proxy related env vars -- 2.40.0