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 | cf3f92ef93ffc35ec1efe8b3b1d65b2624d84de5 (patch) | |
tree | 677ab1ab91c33415d240c8eb9d628159557cf3fe /test | |
parent | c2922d4ed2ecff5ba889b2008dba45dbc39c9168 (diff) | |
download | googletest-cf3f92ef93ffc35ec1efe8b3b1d65b2624d84de5.tar.gz googletest-cf3f92ef93ffc35ec1efe8b3b1d65b2624d84de5.tar.bz2 googletest-cf3f92ef93ffc35ec1efe8b3b1d65b2624d84de5.zip |
Fixes a user reported test break (modifying a dict while iterating).
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 4e897bd3..6dd8db4b 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) |