Kaydet (Commit) b3a88b5c authored tarafından Antoine Pitrou's avatar Antoine Pitrou

Really fix bug

üst 270800c8
......@@ -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):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment