Update test/test_tree.py · gitpython-developers/GitPython@c8b58c0

@@ -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"

215215216216

@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"