summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSenthil Kumaran <orsenthil@gmail.com>2009-10-01 01:50:13 (GMT)
committerSenthil Kumaran <orsenthil@gmail.com>2009-10-01 01:50:13 (GMT)
commitdc61ec35ec2444c383b9862445b4b450fbc35d1c (patch)
treec48bf18e3d723c1eabad959346960087234c99ca
parent5a43e865422a80e053c6a42eeb0de80a605e99d5 (diff)
downloadcpython-dc61ec35ec2444c383b9862445b4b450fbc35d1c.zip
cpython-dc61ec35ec2444c383b9862445b4b450fbc35d1c.tar.gz
cpython-dc61ec35ec2444c383b9862445b4b450fbc35d1c.tar.bz2
That's self.env.unset(k) and not env.unset(k) I was heading back to the problem.
-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 266853e..c74b101 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():
- env.unset(k)
+ self.env.unset(k)
def tearDown(self):
# Restore all proxy related env vars