mirror of
https://github.com/python/cpython.git
synced 2025-11-09 10:01:42 +00:00
That's self.env.unset(k) and not env.unset(k) I was heading back to the problem.
This commit is contained in:
parent
5a43e86542
commit
dc61ec35ec
1 changed files with 1 additions and 1 deletions
|
|
@ -103,7 +103,7 @@ def setUp(self):
|
|||
# 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…
Add table
Add a link
Reference in a new issue