Fix for issue7026 test_urllib: unsetting missing 'env' variable.
This commit is contained in:
parent
8ca7482cc9
commit
91abd6e68d
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue