Commits

Senthil Kumaran  committed d5250da

Fix for Issue7026. Making it self.env.unset

  • Participants
  • Parent commits 278cf5c
  • Branches 2.6

Comments (0)

Files changed (1)

File Lib/test/test_urllib.py

         # Delete all proxy related env vars
         for k, v in os.environ.iteritems():
             if 'proxy' in k.lower():
-                env.unset(k)
+                self.env.unset(k)
 
     def tearDown(self):
         # Restore all proxy related env vars