summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarmon <Harmon758@gmail.com>2020-02-07 11:23:06 -0600
committerSebastian Thiel <sebastian.thiel@icloud.com>2020-02-08 10:55:50 +0800
commitff4f970fa426606dc88d93a4c76a5506ba269258 (patch)
tree6c00788343d225784c1eb569823b2f3801711be8
parent2573dd5409e3a88d1297c3f9d7a8f6860e093f65 (diff)
downloadgitpython-ff4f970fa426606dc88d93a4c76a5506ba269258.tar.gz
Remove now unused is_invoking_git variable in test
-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),