Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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)

AltStyle によって変換されたページ (->オリジナル) /