summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Thiel <sebastian.thiel@icloud.com>2020-04-11 15:19:10 +0800
committerSebastian Thiel <sebastian.thiel@icloud.com>2020-04-11 15:19:10 +0800
commit890fd8f03ae56e39f7dc26471337f97e9ccc4749 (patch)
tree499abb151950c1fd85cff4562b98c61618f6c748
parent07f6f2aaa5bda8ca4c82ee740de156497bec1f56 (diff)
downloadgitpython-890fd8f03ae56e39f7dc26471337f97e9ccc4749.tar.gz
Now it should really start working - go, doctests, go!
-rw-r--r--git/test/test_docs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/git/test/test_docs.py b/git/test/test_docs.py
index a7e656c2..2e4f1dbf 100644
--- a/git/test/test_docs.py
+++ b/git/test/test_docs.py
@@ -323,7 +323,7 @@ class Tutorials(TestBase):
blob = tree.trees[1].blobs[0] # let's get a blob in a sub-tree
assert blob.name
assert len(blob.path) < len(blob.abspath)
- self.assertEqual(tree.trees[0].name + '/' + blob.name, blob.path) # this is how relative blob path generated
+ self.assertEqual(tree.trees[1].name + '/' + blob.name, blob.path) # this is how relative blob path generated
self.assertEqual(tree[blob.path], blob) # you can use paths like 'dir/file' in tree
# ![19-test_references_and_objects]