summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/test/test_urllib.py2
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):