using dict.unset(k) instead of del dict[k]. consistent with release26-maint

This commit is contained in:
Senthil Kumaran 2009-10-01 01:19:18 +00:00
parent 91abd6e68d
commit 5a43e86542
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
for k, v in os.environ.iteritems():
if 'proxy' in k.lower():
del self.env[k]
env.unset(k)
def tearDown(self):
# Restore all proxy related env vars