diff options
author | Peter Levine <plevine457@gmail.com> | 2018-09-14 23:40:51 (GMT) |
---|---|---|
committer | Peter Levine <plevine457@gmail.com> | 2018-09-14 23:40:51 (GMT) |
commit | 149c0d24148da9a339d6c9d03e638a39c59731f6 (patch) | |
tree | d4d1991631be4474135690b7fa3ec15f014ffd8a /googletest/test/googletest-output-test.py | |
parent | bc2d0935b74917be0821bfd834472ed9cc4a3b5b (diff) | |
download | googletest-149c0d24148da9a339d6c9d03e638a39c59731f6.zip googletest-149c0d24148da9a339d6c9d03e638a39c59731f6.tar.gz googletest-149c0d24148da9a339d6c9d03e638a39c59731f6.tar.bz2 |
Fix Python3 support
Diffstat (limited to 'googletest/test/googletest-output-test.py')
-rwxr-xr-x | googletest/test/googletest-output-test.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/googletest/test/googletest-output-test.py b/googletest/test/googletest-output-test.py index 2d69e35..1a9ee6e 100755 --- a/googletest/test/googletest-output-test.py +++ b/googletest/test/googletest-output-test.py @@ -287,7 +287,7 @@ class GTestOutputTest(gtest_test_utils.TestCase): # sequences when we read the golden file irrespective of an operating # system used. Therefore, we need to strip those \r's from newlines # unconditionally. - golden = ToUnixLineEnding(golden_file.read()) + golden = ToUnixLineEnding(golden_file.read().decode()) golden_file.close() # We want the test to pass regardless of certain features being |