diff options
author | Senthil Kumaran <orsenthil@gmail.com> | 2009-10-01 01:50:13 (GMT) |
---|---|---|
committer | Senthil Kumaran <orsenthil@gmail.com> | 2009-10-01 01:50:13 (GMT) |
commit | dc61ec35ec2444c383b9862445b4b450fbc35d1c (patch) | |
tree | c48bf18e3d723c1eabad959346960087234c99ca | |
parent | 5a43e865422a80e053c6a42eeb0de80a605e99d5 (diff) | |
download | cpython-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.py | 2 |
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 |