You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ponymail.apache.org by se...@apache.org on 2024/12/08 12:09:16 UTC
(incubator-ponymail-foal) branch master updated: Suppress error
This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-ponymail-foal.git
The following commit(s) were added to refs/heads/master by this push:
new d9306e3 Suppress error
d9306e3 is described below
commit d9306e389d5566cc22f9de3d2efd0c96638f10d9
Author: Sebb <se...@apache.org>
AuthorDate: Sun Dec 8 12:09:09 2024 +0000
Suppress error
---
tools/plugins/dkim_id_test.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tools/plugins/dkim_id_test.py b/tools/plugins/dkim_id_test.py
index fc1048d..b8557ed 100644
--- a/tools/plugins/dkim_id_test.py
+++ b/tools/plugins/dkim_id_test.py
@@ -1387,7 +1387,8 @@ def main() -> None:
pid_: str = dkim_id.dkim_id(msg)
rascal_: bytes = dkim_id.rfc6376_rascal(msg)[1]
assert pid == pid_, f"{pid} != {pid_}"
- assert rascal == rascal_, f"{rascal} != {rascal_}"
+ # TODO: not sure how to fix the mypy error
+ assert rascal == rascal_, f"{rascal} != {rascal_}" # type: ignore[str-bytes-safe]
doctests()
print("ok")