commit | dc61ec35ec2444c383b9862445b4b450fbc35d1c | [log] [tgz] |
---|---|---|
author | Senthil Kumaran <orsenthil@gmail.com> | Thu Oct 01 01:50:13 2009 +0000 |
committer | Senthil Kumaran <orsenthil@gmail.com> | Thu Oct 01 01:50:13 2009 +0000 |
tree | c48bf18e3d723c1eabad959346960087234c99ca | |
parent | 5a43e865422a80e053c6a42eeb0de80a605e99d5 [diff] [blame] |
That's self.env.unset(k) and not env.unset(k) I was heading back to the problem.
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 @@ # 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