Fix for Issue7026. Making it self.env.unset
This commit is contained in:
parent
0240c924db
commit
f125078132
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue