[Python-checkins] r75164 - python/trunk/Lib/test/test_urllib.py
senthil.kumaran
python-checkins at python.org
Thu Oct 1 03:07:03 CEST 2009
Author: senthil.kumaran
Date: Thu Oct 1 03:07:03 2009
New Revision: 75164
Log:
Fix for issue7026 test_urllib: unsetting missing 'env' variable.
Modified:
python/trunk/Lib/test/test_urllib.py
Modified: python/trunk/Lib/test/test_urllib.py
==============================================================================
--- python/trunk/Lib/test/test_urllib.py (original)
+++ python/trunk/Lib/test/test_urllib.py Thu Oct 1 03:07:03 2009
@@ -103,7 +103,7 @@
# Delete all proxy related env vars
for k, v in os.environ.iteritems():
if 'proxy' in k.lower():
- del env[k]
+ del self.env[k]
def tearDown(self):
# Restore all proxy related env vars
More information about the Python-checkins
mailing list