We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Signature
1 parent 4956dd5 commit dbdd36fCopy full SHA for dbdd36f
test/test_refs.py
@@ -595,7 +595,10 @@ def test_set_target_with_message(testrepo: Repository) -> None:
595
assert reference.raw_target == b'refs/heads/i18n'
596
first = list(reference.log())[0]
597
assert first.message == msg
598
- assert first.committer == sig
+ # Signature.time and Signature.encoding may not be equal.
599
+ # Here we only care that the name and email are correctly set.
600
+ assert first.committer.name == sig.name
601
+ assert first.committer.email == sig.email
602
603
604
def test_delete(testrepo: Repository) -> None:
0 commit comments