diff --git a/pytest.ini b/pytest.ini index 5091f2836..92a403451 100644 --- a/pytest.ini +++ b/pytest.ini @@ -22,6 +22,11 @@ # the certbot.display.util module. # 5) A deprecation warning is raised in dnspython==1.15.0 in the oldest tests for # certbot-dns-rfc2136. +# 6) The vendored version of six in botocore causes ImportWarnings in Python +# 3.10+. See https://github.com/boto/botocore/issues/2548. +# 7) botocore's default TLS settings raise deprecation warnings in Python +# 3.10+, but their values are sane from a security perspective. See +# https://github.com/boto/botocore/issues/2550. filterwarnings = error ignore:The external mock module:PendingDeprecationWarning @@ -29,3 +34,5 @@ filterwarnings = ignore:.*attribute in certbot.interfaces module is deprecated:DeprecationWarning ignore:.*attribute in certbot.display.util module is deprecated:DeprecationWarning ignore:decodestring\(\) is a deprecated alias:DeprecationWarning:dns + ignore:_SixMetaPathImporter.:ImportWarning + ignore:ssl.PROTOCOL_TLS:DeprecationWarning:botocore