diff options
author | vladlosev <vladlosev@861a406c-534a-0410-8894-cb66d6ee9925> | 2011-08-16 00:47:22 +0000 |
---|---|---|
committer | vladlosev <vladlosev@861a406c-534a-0410-8894-cb66d6ee9925> | 2011-08-16 00:47:22 +0000 |
commit | f35f4c6be26bc341d7e241d8ab18f6c41ee281e1 (patch) | |
tree | 677ab1ab91c33415d240c8eb9d628159557cf3fe /test | |
parent | 8757774c346ee23a9405cbd7171514cdcb65eac6 (diff) | |
download | googletest-f35f4c6be26bc341d7e241d8ab18f6c41ee281e1.tar.gz |
Fixes a user reported test break (modifying a dict while iterating).
git-svn-id: http://googletest.googlecode.com/svn/trunk@588 861a406c-534a-0410-8894-cb66d6ee9925
Diffstat (limited to 'test')
-rwxr-xr-x | test/gtest_test_utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/gtest_test_utils.py b/test/gtest_test_utils.py index 4e897bd..6dd8db4 100755 --- a/test/gtest_test_utils.py +++ b/test/gtest_test_utils.py @@ -241,7 +241,7 @@ class Subprocess: # Changes made by os.environ.clear are not inheritable by child # processes until Python 2.6. To produce inheritable changes we have # to delete environment items with the del statement. - for key in dest: + for key in dest.keys(): del dest[key] dest.update(src) |