diff options
author | Abseil Team <absl-team@google.com> | 2022-03-23 22:07:35 (GMT) |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2022-03-23 22:08:26 (GMT) |
commit | af29db7ec28d6df1c7f0f745186884091e602e07 (patch) | |
tree | 09d0515602204655c233d87c6e19d4f609b3486a | |
parent | 073293463e1733c5e931313da1c3f1de044e1db3 (diff) | |
download | googletest-af29db7ec28d6df1c7f0f745186884091e602e07.zip googletest-af29db7ec28d6df1c7f0f745186884091e602e07.tar.gz googletest-af29db7ec28d6df1c7f0f745186884091e602e07.tar.bz2 |
Address deprecation warning surfaced by Github presubmit tests
PiperOrigin-RevId: 436839469
Change-Id: I2bb90dce524c16bcc31569bb98772dcc62d08fbf
-rwxr-xr-x | googlemock/test/gmock_output_test.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/googlemock/test/gmock_output_test.py b/googlemock/test/gmock_output_test.py index 71532c5..6b4ab90 100755 --- a/googlemock/test/gmock_output_test.py +++ b/googlemock/test/gmock_output_test.py @@ -161,13 +161,13 @@ class GMockOutputTest(gmock_test_utils.TestCase): golden_file.close() # 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 # test GMockOutputTest.CatchesLeakedMocks. - self.assertEquals(['GMockOutputTest.CatchesLeakedMocks', - 'GMockOutputTest.CatchesLeakedMocks'], - leaky_tests) + self.assertEqual(['GMockOutputTest.CatchesLeakedMocks', + 'GMockOutputTest.CatchesLeakedMocks'], + leaky_tests) if __name__ == '__main__': |