Commit af29db7e authored by Abseil Team's avatar Abseil Team Committed by Copybara-Service
Browse files

Address deprecation warning surfaced by Github presubmit tests

PiperOrigin-RevId: 436839469
Change-Id: I2bb90dce524c16bcc31569bb98772dcc62d08fbf
parent 07329346
...@@ -161,11 +161,11 @@ class GMockOutputTest(gmock_test_utils.TestCase): ...@@ -161,11 +161,11 @@ class GMockOutputTest(gmock_test_utils.TestCase):
golden_file.close() golden_file.close()
# The normalized output should match the golden file. # The normalized output should match the golden file.
self.assertEquals(golden, output) self.assertEqual(golden, output)
# The raw output should contain 2 leaked mock object errors for # The raw output should contain 2 leaked mock object errors for
# test GMockOutputTest.CatchesLeakedMocks. # test GMockOutputTest.CatchesLeakedMocks.
self.assertEquals(['GMockOutputTest.CatchesLeakedMocks', self.assertEqual(['GMockOutputTest.CatchesLeakedMocks',
'GMockOutputTest.CatchesLeakedMocks'], 'GMockOutputTest.CatchesLeakedMocks'],
leaky_tests) leaky_tests)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment