Googletest export

Fix a Python 2 to 3 issue

PiperOrigin-RevId: 389720056
This commit is contained in:
dmauro 2021-08-09 17:06:31 -04:00 committed by Derek Mauro
parent aefb45469e
commit eb7e38dfb4

View File

@ -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