diff --git a/googletest/test/gtest_test_utils.py b/googletest/test/gtest_test_utils.py index d0c24466..c7f25aa9 100755 --- a/googletest/test/gtest_test_utils.py +++ b/googletest/test/gtest_test_utils.py @@ -173,7 +173,7 @@ def GetTestExecutablePath(executable_name, build_dir=None): 'Unable to find the test binary "%s". Please make sure to provide\n' 'a path to the binary via the --build_dir flag or the BUILD_DIR\n' 'environment variable.' % path) - print >> sys.stderr, message + print(message, file=sys.stderr) sys.exit(1) return path