summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSenthil Kumaran <orsenthil@gmail.com>2009-10-01 01:07:03 (GMT)
committerSenthil Kumaran <orsenthil@gmail.com>2009-10-01 01:07:03 (GMT)
commit91abd6e68dfa4b0d9d91d7c5c05d5d384c2b2718 (patch)
tree1f65f66e5574cbeb652bb895f816e8ed8dbbfa93
parent8ca7482cc93946e88ae09e16d076f5e556f2e701 (diff)
downloadcpython-91abd6e68dfa4b0d9d91d7c5c05d5d384c2b2718.zip
cpython-91abd6e68dfa4b0d9d91d7c5c05d5d384c2b2718.tar.gz
cpython-91abd6e68dfa4b0d9d91d7c5c05d5d384c2b2718.tar.bz2
Fix for issue7026 test_urllib: unsetting missing 'env' variable.
-rw-r--r--Lib/test/test_urllib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_urllib.py b/Lib/test/test_urllib.py
index 9320c62..6eaefa2 100644
--- a/Lib/test/test_urllib.py
+++ b/Lib/test/test_urllib.py
@@ -103,7 +103,7 @@ class ProxyTests(unittest.TestCase):
# 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