]> granicus.if.org Git - python/commitdiff
Oops
authorAntoine Pitrou <solipsis@pitrou.net>
Thu, 14 Oct 2010 18:32:54 +0000 (18:32 +0000)
committerAntoine Pitrou <solipsis@pitrou.net>
Thu, 14 Oct 2010 18:32:54 +0000 (18:32 +0000)
Lib/test/test_urllib.py

index f0766b2e316ed7dae7d2a534db77fa9c89c8c3dc..fe557ffa171d981f8b6c7a310c3555ccfc59b3f5 100644 (file)
@@ -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):