diff --git a/tests/compat/test_client.py b/tests/compat/test_client.py index 9dc7c0a5c..730534b64 100644 --- a/tests/compat/test_client.py +++ b/tests/compat/test_client.py @@ -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 ", tree=tree_id,