Skip to content

Commit c8b58c0

Browse files
Update test/test_tree.py
Rename blob to tree Co-authored-by: Copilot <[email protected]>
1 parent 88e2614 commit c8b58c0

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

test/test_tree.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -209,13 +209,13 @@ def test_repo_lookup_nested_pathlike_path(self, rw_repo):
209209
@with_rw_repo("0.3.2.1")
210210
def test_repo_lookup_folder_string_path(self, rw_repo):
211211
repo = Repo(rw_repo.git_dir)
212-
blob = repo.tree() / "git"
213-
assert isinstance(blob, Tree)
214-
assert blob.hexsha == "ec8ae429156d65afde4bbb3455570193b56f0977"
212+
tree = repo.tree() / "git"
213+
assert isinstance(tree, Tree)
214+
assert tree.hexsha == "ec8ae429156d65afde4bbb3455570193b56f0977"
215215

216216
@with_rw_repo("0.3.2.1")
217217
def test_repo_lookup_folder_pathlike_path(self, rw_repo):
218218
repo = Repo(rw_repo.git_dir)
219-
blob = repo.tree() / PathLikeMock("git")
220-
assert isinstance(blob, Tree)
221-
assert blob.hexsha == "ec8ae429156d65afde4bbb3455570193b56f0977"
219+
tree = repo.tree() / PathLikeMock("git")
220+
assert isinstance(tree, Tree)
221+
assert tree.hexsha == "ec8ae429156d65afde4bbb3455570193b56f0977"

0 commit comments

Comments
 (0)