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.
2 parents 7bfd066 + dff489a commit b3b3740Copy full SHA for b3b3740
cheroot/test/test_ssl.py
@@ -924,7 +924,10 @@ def test_openssl_adapter_with_false_key_password(
924
925
with expected_warn, pytest.raises(
926
OpenSSL.SSL.Error,
927
- match=r'.+bad decrypt.+',
+ # Decode error has happened very rarely with Python 3.9 in MacOS.
928
+ # Might be caused by a random issue in file handling leading
929
+ # to interpretation of garbage characters in certificates.
930
+ match=r'.+\'(bad decrypt|decode error)\'.+',
931
):
932
httpserver.prepare()
933
0 commit comments