Oops
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 @@
         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):