commit | 5a43e865422a80e053c6a42eeb0de80a605e99d5 | [log] [tgz] |
---|---|---|
author | Senthil Kumaran <orsenthil@gmail.com> | Thu Oct 01 01:19:18 2009 +0000 |
committer | Senthil Kumaran <orsenthil@gmail.com> | Thu Oct 01 01:19:18 2009 +0000 |
tree | e1e0e84e3684cb57e6af15ec62ad7c0043b410d1 | |
parent | 91abd6e68dfa4b0d9d91d7c5c05d5d384c2b2718 [diff] [blame] |
using dict.unset(k) instead of del dict[k]. consistent with release26-maint
diff --git a/Lib/test/test_urllib.py b/Lib/test/test_urllib.py index 6eaefa2..266853e 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(): - del self.env[k] + env.unset(k) def tearDown(self): # Restore all proxy related env vars