Skip to content

Commit ff4f970

Browse files
Harmon758Byron
authored andcommitted
Remove now unused is_invoking_git variable in test
1 parent 2573dd5 commit ff4f970

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

git/test/test_repo.py

+1-4
Original file line numberDiff line numberDiff line change
@@ -496,10 +496,7 @@ def test_blame_complex_revision(self, git):
496496
""")
497497
@with_rw_repo('HEAD', bare=False)
498498
def test_untracked_files(self, rwrepo):
499-
for run, (repo_add, is_invoking_git) in enumerate((
500-
(rwrepo.index.add, False),
501-
(rwrepo.git.add, True),
502-
)):
499+
for run, repo_add in enumerate((rwrepo.index.add, rwrepo.git.add)):
503500
base = rwrepo.working_tree_dir
504501
files = (join_path_native(base, u"%i_test _myfile" % run),
505502
join_path_native(base, "%i_test_other_file" % run),

0 commit comments

Comments
 (0)