Fix for issue7026 test_urllib: unsetting missing 'env' variable.

This commit is contained in:
Senthil Kumaran 2009-10-01 01:07:03 +00:00
parent 8ca7482cc9
commit 91abd6e68d
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ class ProxyTests(unittest.TestCase):
# Delete all proxy related env vars # Delete all proxy related env vars
for k, v in os.environ.iteritems(): for k, v in os.environ.iteritems():
if 'proxy' in k.lower(): if 'proxy' in k.lower():
del env[k] del self.env[k]
def tearDown(self): def tearDown(self):
# Restore all proxy related env vars # Restore all proxy related env vars