diff options
| author | Senthil Kumaran <orsenthil@gmail.com> | 2010-01-08 19:20:25 (GMT) |
|---|---|---|
| committer | Senthil Kumaran <orsenthil@gmail.com> | 2010-01-08 19:20:25 (GMT) |
| commit | 7a2ee0b460afe426fa84bdcc0e160a0a4c343a57 (patch) | |
| tree | 1b60e9084bbc7fa6c2473a97150f03caf103dd95 /Lib/test/test_urllib.py | |
| parent | 8015725d4f828ed877d90e17c3e1b7203f6f24a6 (diff) | |
| download | cpython-7a2ee0b460afe426fa84bdcc0e160a0a4c343a57.zip cpython-7a2ee0b460afe426fa84bdcc0e160a0a4c343a57.tar.gz cpython-7a2ee0b460afe426fa84bdcc0e160a0a4c343a57.tar.bz2 | |
Fix for Issue7026. For the Error - RuntimeError: dictionary changed size during iteration
Diffstat (limited to 'Lib/test/test_urllib.py')
| -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 c74b101..8d41bf0 100644 --- a/Lib/test/test_urllib.py +++ b/Lib/test/test_urllib.py @@ -101,7 +101,7 @@ class ProxyTests(unittest.TestCase): # Records changes to env vars self.env = test_support.EnvironmentVarGuard() # Delete all proxy related env vars - for k, v in os.environ.iteritems(): + for k in os.environ.keys(): if 'proxy' in k.lower(): self.env.unset(k) |
