summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--git/test/test_repo.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/git/test/test_repo.py b/git/test/test_repo.py
index 0af68730..18b6f11e 100644
--- a/git/test/test_repo.py
+++ b/git/test/test_repo.py
@@ -496,10 +496,7 @@ class TestRepo(TestBase):
""")
@with_rw_repo('HEAD', bare=False)
def test_untracked_files(self, rwrepo):
- for run, (repo_add, is_invoking_git) in enumerate((
- (rwrepo.index.add, False),
- (rwrepo.git.add, True),
- )):
+ for run, repo_add in enumerate((rwrepo.index.add, rwrepo.git.add)):
base = rwrepo.working_tree_dir
files = (join_path_native(base, u"%i_test _myfile" % run),
join_path_native(base, "%i_test_other_file" % run),