-
-
Notifications
You must be signed in to change notification settings - Fork 402
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4e71492
commit 574f6a0
Showing
1 changed file
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,8 +40,8 @@ | |
|
||
from dulwich import client, file, index, objects, protocol, repo | ||
from dulwich.porcelain import tag_create | ||
from dulwich.refs import _import_remote_refs | ||
from dulwich.protocol import DEPTH_INFINITE | ||
from dulwich.refs import _import_remote_refs | ||
|
||
from .. import SkipTest, expectedFailure | ||
from .utils import ( | ||
|
@@ -181,7 +181,7 @@ def test_fetch_into_shallow_clone(self) -> None: | |
("zop", "zop contents"), | ||
]: | ||
tree_id = self._add_file(src, tree_id, filename, contents) | ||
commit_id = src.do_commit( | ||
src.do_commit( | ||
message=b"add " + filename.encode("utf-8"), | ||
committer=b"Joe Example <[email protected]>", | ||
tree=tree_id, | ||
|
@@ -192,7 +192,7 @@ def test_fetch_into_shallow_clone(self) -> None: | |
local.refs, | ||
"origin", | ||
result.refs, | ||
f"fetch: from {remote_path}".encode('ascii') | ||
f"fetch: from {remote_path}".encode("ascii"), | ||
) | ||
self.assertEqual(local.get_shallow(), set()) | ||
with repo.Repo(self.dest) as local: | ||
|