mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
Really fix bug
This commit is contained in:
parent
270800c801
commit
b3a88b5c42
1 changed files with 2 additions and 2 deletions
|
@ -118,8 +118,8 @@ class ProxyTests(unittest.TestCase):
|
|||
# Records changes to env vars
|
||||
self.env = support.EnvironmentVarGuard()
|
||||
# Delete all proxy related env vars
|
||||
for k in os.environ.keys():
|
||||
if k == 'NO_PROXY':
|
||||
for k in list(os.environ):
|
||||
if 'proxy' not in k.lower():
|
||||
self.env.unset(k)
|
||||
|
||||
def tearDown(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue