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

Lines changed: 1 addition & 4 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy