mirror of
https://github.com/google/googletest.git
synced 2026-07-21 14:43:35 +00:00
Merge pull request #5025 from K-S-Manikandan:fix/output-test-python3
PiperOrigin-RevId: 948328634 Change-Id: I9d2c42a63138095b88cc0cff16f69e8220ee1dfd
This commit is contained in:
@@ -349,14 +349,16 @@ class GTestOutputTest(gtest_test_utils.TestCase):
|
||||
gtest_test_utils.GetSourceDir(),
|
||||
'_googletest-output-test_normalized_actual.txt',
|
||||
),
|
||||
'wb',
|
||||
'w',
|
||||
encoding='utf-8',
|
||||
).write(normalized_actual)
|
||||
open(
|
||||
os.path.join(
|
||||
gtest_test_utils.GetSourceDir(),
|
||||
'_googletest-output-test_normalized_golden.txt',
|
||||
),
|
||||
'wb',
|
||||
'w',
|
||||
encoding='utf-8',
|
||||
).write(normalized_golden)
|
||||
|
||||
self.assertEqual(normalized_golden, normalized_actual)
|
||||
|
||||
Reference in New Issue
Block a user