diff options
author | Senthil Kumaran <orsenthil@gmail.com> | 2010-01-08 18:25:42 +0000 |
---|---|---|
committer | Senthil Kumaran <orsenthil@gmail.com> | 2010-01-08 18:25:42 +0000 |
commit | d3ffdb44c819944a54264b9c3d4017928bceee04 (patch) | |
tree | 36bbdb813bd2320fe2cedaf8b805a885bd73f7a4 /Lib/test/test_urllib.py | |
parent | e0f4be7e5d7cdb309f3b286e9389fdd83972ce89 (diff) | |
download | cpython-git-d3ffdb44c819944a54264b9c3d4017928bceee04.tar.gz |
Fixing - Issue7026 - RuntimeError: dictionary changed size during iteration. Patch by flox.
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 5f9744c451..fd9c36150e 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) |