Skip to content
Prev Previous commit
Next Next commit
fixed unused variable found PYL-W0612
  • Loading branch information
imkaka committed Oct 22, 2019
commit d52c5783c08f4f9e397c4dad55bbfee2b8c61c5f
2 changes: 1 addition & 1 deletion git/test/test_docs.py
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ def test_references_and_objects(self, rw_dir):
# The index contains all blobs in a flat list
assert len(list(index.iter_blobs())) == len([o for o in repo.head.commit.tree.traverse() if o.type == 'blob'])
# Access blob objects
for (path, _stage), entry in index.entries.items():
for (_path, _stage), entry in index.entries.items():
pass
new_file_path = os.path.join(repo.working_tree_dir, 'new-file-name')
open(new_file_path, 'w').close()
Expand Down