commit | d3ffdb44c819944a54264b9c3d4017928bceee04 | [log] [tgz] |
---|---|---|
author | Senthil Kumaran <orsenthil@gmail.com> | Fri Jan 08 18:25:42 2010 +0000 |
committer | Senthil Kumaran <orsenthil@gmail.com> | Fri Jan 08 18:25:42 2010 +0000 |
tree | 36bbdb813bd2320fe2cedaf8b805a885bd73f7a4 | |
parent | e0f4be7e5d7cdb309f3b286e9389fdd83972ce89 [diff] [blame] |
Fixing - Issue7026 - RuntimeError: dictionary changed size during iteration. Patch by flox.
diff --git a/Lib/test/test_urllib.py b/Lib/test/test_urllib.py index 5f9744c..fd9c361 100644 --- a/Lib/test/test_urllib.py +++ b/Lib/test/test_urllib.py
@@ -101,7 +101,7 @@ # 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)