diff options
Diffstat (limited to 'Lib/test')
-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 35c7f51..fc3db9f 100644 --- a/Lib/test/test_urllib.py +++ b/Lib/test/test_urllib.py @@ -119,7 +119,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): |