@@ -193,17 +193,17 @@ def test_options_are_passed_to_git(self):
193
193
# This work because any command after git --version is ignored
194
194
git_version = self .git (version = True ).NoOp ()
195
195
git_command_version = self .git .version ()
196
- self .assertEquals (git_version , git_command_version )
196
+ self .assertEqual (git_version , git_command_version )
197
197
198
198
def test_persistent_options (self ):
199
199
git_command_version = self .git .version ()
200
200
# analog to test_options_are_passed_to_git
201
201
self .git .set_persistent_git_options (version = True )
202
202
git_version = self .git .NoOp ()
203
- self .assertEquals (git_version , git_command_version )
203
+ self .assertEqual (git_version , git_command_version )
204
204
# subsequent calls keep this option:
205
205
git_version_2 = self .git .NoOp ()
206
- self .assertEquals (git_version_2 , git_command_version )
206
+ self .assertEqual (git_version_2 , git_command_version )
207
207
208
208
# reset to empty:
209
209
self .git .set_persistent_git_options ()
@@ -212,7 +212,7 @@ def test_persistent_options(self):
212
212
def test_single_char_git_options_are_passed_to_git (self ):
213
213
input_value = 'TestValue'
214
214
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 )
216
216
217
217
def test_change_to_transform_kwargs_does_not_break_command_options (self ):
218
218
self .git .log (n = 1 )
0 commit comments