diff --git a/CONTRIBUTORS b/CONTRIBUTORS index ccea41ea8..a8c0ae9c5 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -5,6 +5,7 @@ Ajay Joshi Balázs Dán +Benjamin Siliezar Benoit Sigoure Bharat Mediratta Bogdan Piloca diff --git a/googletest/test/googletest-output-test.py b/googletest/test/googletest-output-test.py index 6d80d5325..26a664baf 100755 --- a/googletest/test/googletest-output-test.py +++ b/googletest/test/googletest-output-test.py @@ -350,14 +350,14 @@ class GTestOutputTest(gtest_test_utils.TestCase): '_googletest-output-test_normalized_actual.txt', ), 'wb', - ).write(normalized_actual) + ).write(normalized_actual.encode()) open( os.path.join( gtest_test_utils.GetSourceDir(), '_googletest-output-test_normalized_golden.txt', ), 'wb', - ).write(normalized_golden) + ).write(normalized_golden.encode()) self.assertEqual(normalized_golden, normalized_actual)