Skip to content

Commit af29db7

Browse files
Abseil Teamcopybara-github
Abseil Team
authored andcommitted
Address deprecation warning surfaced by Github presubmit tests
PiperOrigin-RevId: 436839469 Change-Id: I2bb90dce524c16bcc31569bb98772dcc62d08fbf
1 parent 0732934 commit af29db7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

googlemock/test/gmock_output_test.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -161,13 +161,13 @@ def testOutput(self):
161161
golden_file.close()
162162

163163
# The normalized output should match the golden file.
164-
self.assertEquals(golden, output)
164+
self.assertEqual(golden, output)
165165

166166
# The raw output should contain 2 leaked mock object errors for
167167
# test GMockOutputTest.CatchesLeakedMocks.
168-
self.assertEquals(['GMockOutputTest.CatchesLeakedMocks',
169-
'GMockOutputTest.CatchesLeakedMocks'],
170-
leaky_tests)
168+
self.assertEqual(['GMockOutputTest.CatchesLeakedMocks',
169+
'GMockOutputTest.CatchesLeakedMocks'],
170+
leaky_tests)
171171

172172

173173
if __name__ == '__main__':

0 commit comments

Comments
 (0)