Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc8b58c0

Browse files
Update test/test_tree.py
Rename blob to treeCo-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent88e2614 commitc8b58c0

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
deftest_repo_lookup_folder_string_path(self,rw_repo):
211211
repo=Repo(rw_repo.git_dir)
212-
blob=repo.tree()/"git"
213-
assertisinstance(blob,Tree)
214-
assertblob.hexsha=="ec8ae429156d65afde4bbb3455570193b56f0977"
212+
tree=repo.tree()/"git"
213+
assertisinstance(tree,Tree)
214+
asserttree.hexsha=="ec8ae429156d65afde4bbb3455570193b56f0977"
215215

216216
@with_rw_repo("0.3.2.1")
217217
deftest_repo_lookup_folder_pathlike_path(self,rw_repo):
218218
repo=Repo(rw_repo.git_dir)
219-
blob=repo.tree()/PathLikeMock("git")
220-
assertisinstance(blob,Tree)
221-
assertblob.hexsha=="ec8ae429156d65afde4bbb3455570193b56f0977"
219+
tree=repo.tree()/PathLikeMock("git")
220+
assertisinstance(tree,Tree)
221+
asserttree.hexsha=="ec8ae429156d65afde4bbb3455570193b56f0977"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2026 Movatter.jp