[Python-checkins] r85490 - python/branches/py3k/Lib/test/test_urllib.py

antoine.pitrou python-checkins at python.org
Thu Oct 14 20:32:54 CEST 2010


Author: antoine.pitrou
Date: Thu Oct 14 20:32:54 2010
New Revision: 85490

Log:
Oops



Modified:
   python/branches/py3k/Lib/test/test_urllib.py

Modified: python/branches/py3k/Lib/test/test_urllib.py
==============================================================================
--- python/branches/py3k/Lib/test/test_urllib.py	(original)
+++ python/branches/py3k/Lib/test/test_urllib.py	Thu Oct 14 20:32:54 2010
@@ -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):


More information about the Python-checkins mailing list