We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 08d844a commit 3ea5615Copy full SHA for 3ea5615
test_.py
@@ -1040,8 +1040,7 @@ def test_long_attachment_filename(self):
1040
1041
def verify_inline_message(txt: str):
1042
boundary = re.search(r'boundary="(.*)"', txt).group(1)
1043
- reg = fr'{
1044
- boundary}.*{boundary}\n(.*)\n--{boundary}.*(-----BEGIN PGP SIGNATURE-----.*-----END PGP SIGNATURE-----)'
+ reg = (fr'{boundary}.*{boundary}\n(.*)\n--{boundary}.*(-----BEGIN PGP SIGNATURE-----.*-----END PGP SIGNATURE-----)')
1045
m = re.search(reg, txt, re.DOTALL)
1046
return e._gpg_verify(m[2].encode(), m[1].encode())
1047
0 commit comments