Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 89d1133 commit 16c2d9cCopy full SHA for 16c2d9c
git/test/test_docs.py
@@ -349,7 +349,7 @@ def test_references_and_objects(self, rw_dir):
349
# The index contains all blobs in a flat list
350
assert len(list(index.iter_blobs())) == len([o for o in repo.head.commit.tree.traverse() if o.type == 'blob'])
351
# Access blob objects
352
- for (path, stage), entry in index.entries.items(): # @UnusedVariable
+ for (path, _stage), entry in index.entries.items():
353
pass
354
new_file_path = os.path.join(repo.working_tree_dir, 'new-file-name')
355
open(new_file_path, 'w').close()
0 commit comments