From eb7e38dfb4697f3fbd8371e11d0414e7ae3a79c7 Mon Sep 17 00:00:00 2001 From: dmauro Date: Mon, 9 Aug 2021 17:06:31 -0400 Subject: [PATCH] Googletest export Fix a Python 2 to 3 issue PiperOrigin-RevId: 389720056 --- googletest/test/gtest_test_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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