summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
Diffstat (limited to 'Lib')
-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 f0766b2..fe557ff 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 list(os.environ):
- if 'proxy' not in k.lower():
+ if 'proxy' in k.lower():
self.env.unset(k)
def tearDown(self):