summaryrefslogtreecommitdiffstats
path: root/googletest/test/googletest-throw-on-failure-test.py
diff options
context:
space:
mode:
authorPeter Levine <plevine457@gmail.com>2018-09-14 23:40:51 (GMT)
committerPeter Levine <plevine457@gmail.com>2018-09-14 23:40:51 (GMT)
commit149c0d24148da9a339d6c9d03e638a39c59731f6 (patch)
treed4d1991631be4474135690b7fa3ec15f014ffd8a /googletest/test/googletest-throw-on-failure-test.py
parentbc2d0935b74917be0821bfd834472ed9cc4a3b5b (diff)
downloadgoogletest-149c0d24148da9a339d6c9d03e638a39c59731f6.zip
googletest-149c0d24148da9a339d6c9d03e638a39c59731f6.tar.gz
googletest-149c0d24148da9a339d6c9d03e638a39c59731f6.tar.bz2
Fix Python3 support
Diffstat (limited to 'googletest/test/googletest-throw-on-failure-test.py')
-rwxr-xr-xgoogletest/test/googletest-throw-on-failure-test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/googletest/test/googletest-throw-on-failure-test.py b/googletest/test/googletest-throw-on-failure-test.py
index 46cb9f6..204e43e 100755
--- a/googletest/test/googletest-throw-on-failure-test.py
+++ b/googletest/test/googletest-throw-on-failure-test.py
@@ -68,7 +68,7 @@ def SetEnvVar(env_var, value):
def Run(command):
"""Runs a command; returns True/False if its exit code is/isn't 0."""
- print 'Running "%s". . .' % ' '.join(command)
+ print('Running "%s". . .' % ' '.join(command))
p = gtest_test_utils.Subprocess(command)
return p.exited and p.exit_code == 0