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 0685d62 commit d52c578Copy full SHA for d52c578
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():
+ 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