Commit e0f214a5 authored by Barry Warsaw's avatar Barry Warsaw

Fix issue 10094, by narrowing down the test for PROXY environment variables.

Ubuntu 10.10 introduced $UBUNTU_MENUPROXY into the default user environment,
and that's what's tripping up the code.
parent 27314947
......@@ -121,7 +121,7 @@ class ProxyTests(unittest.TestCase):
self.env = support.EnvironmentVarGuard()
# Delete all proxy related env vars
for k in os.environ.keys():
if 'proxy' in k.lower():
if k == 'NO_PROXY':
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