We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5d4dd2f commit 07f6f2aCopy full SHA for 07f6f2a
git/test/test_docs.py
@@ -320,7 +320,7 @@ def test_references_and_objects(self, rw_dir):
320
self.assertEqual(tree['smmap'], tree / 'smmap') # access by index and by sub-path
321
for entry in tree: # intuitive iteration of tree members
322
print(entry)
323
- blob = tree.trees[9].blobs[0] # let's get a blob in a sub-tree
+ blob = tree.trees[1].blobs[0] # let's get a blob in a sub-tree
324
assert blob.name
325
assert len(blob.path) < len(blob.abspath)
326
self.assertEqual(tree.trees[0].name + '/' + blob.name, blob.path) # this is how relative blob path generated
0 commit comments