@@ -193,17 +193,17 @@ def test_options_are_passed_to_git(self):
193193 # This work because any command after git --version is ignored
194194 git_version = self .git (version = True ).NoOp ()
195195 git_command_version = self .git .version ()
196- self .assertEquals (git_version , git_command_version )
196+ self .assertEqual (git_version , git_command_version )
197197
198198 def test_persistent_options (self ):
199199 git_command_version = self .git .version ()
200200 # analog to test_options_are_passed_to_git
201201 self .git .set_persistent_git_options (version = True )
202202 git_version = self .git .NoOp ()
203- self .assertEquals (git_version , git_command_version )
203+ self .assertEqual (git_version , git_command_version )
204204 # subsequent calls keep this option:
205205 git_version_2 = self .git .NoOp ()
206- self .assertEquals (git_version_2 , git_command_version )
206+ self .assertEqual (git_version_2 , git_command_version )
207207
208208 # reset to empty:
209209 self .git .set_persistent_git_options ()
@@ -212,7 +212,7 @@ def test_persistent_options(self):
212212 def test_single_char_git_options_are_passed_to_git (self ):
213213 input_value = 'TestValue'
214214 output_value = self .git (c = 'user.name=%s' % input_value ).config ('--get' , 'user.name' )
215- self .assertEquals (input_value , output_value )
215+ self .assertEqual (input_value , output_value )
216216
217217 def test_change_to_transform_kwargs_does_not_break_command_options (self ):
218218 self .git .log (n = 1 )
0 commit comments