Address deprecation warning surfaced by Github presubmit tests
PiperOrigin-RevId: 436839469 Change-Id: I2bb90dce524c16bcc31569bb98772dcc62d08fbf
This commit is contained in:
		
				
					committed by
					
						
						Copybara-Service
					
				
			
			
				
	
			
			
			
						parent
						
							073293463e
						
					
				
				
					commit
					af29db7ec2
				
			@@ -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__':
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user