summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rwxr-xr-xtest/gtest_test_utils.py2
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)