diff options
author | Barry Warsaw <barry@python.org> | 2010-10-14 18:23:53 (GMT) |
---|---|---|
committer | Barry Warsaw <barry@python.org> | 2010-10-14 18:23:53 (GMT) |
commit | e0f214a54912e428f378d1ef38b725a013b16990 (patch) | |
tree | 884a4a731be7bfc9a227715511100b2f971eee66 /Lib/test/test_urllib.py | |
parent | 2731494720ce3cfa4816e9f3c711bbc19316acde (diff) | |
download | cpython-e0f214a54912e428f378d1ef38b725a013b16990.zip cpython-e0f214a54912e428f378d1ef38b725a013b16990.tar.gz cpython-e0f214a54912e428f378d1ef38b725a013b16990.tar.bz2 |
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.
Diffstat (limited to 'Lib/test/test_urllib.py')
-rw-r--r-- | Lib/test/test_urllib.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_urllib.py b/Lib/test/test_urllib.py index 4d389d7..13aa7b3 100644 --- a/Lib/test/test_urllib.py +++ b/Lib/test/test_urllib.py @@ -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): |