diff --git a/acme/acme/crypto_util_test.py b/acme/acme/crypto_util_test.py index 58cb1cd69..05d9f419e 100644 --- a/acme/acme/crypto_util_test.py +++ b/acme/acme/crypto_util_test.py @@ -18,7 +18,7 @@ from acme.magic_typing import List # pylint: disable=unused-import, no-name-in-m # turns all ResourceWarnings into errors for this module if six.PY3: - pytestmark = pytest.mark.filterwarnings("ignore::ResourceWarning") + pytestmark = pytest.mark.filterwarnings("ignore::ResourceWarning") # pragma: no cover class SSLSocketAndProbeSNITest(unittest.TestCase): diff --git a/acme/acme/messages_test.py b/acme/acme/messages_test.py index 7124f8bd1..5b257836a 100644 --- a/acme/acme/messages_test.py +++ b/acme/acme/messages_test.py @@ -17,7 +17,7 @@ KEY = test_util.load_rsa_private_key('rsa512_key.pem') # turns all ResourceWarnings into errors for this module if six.PY3: - pytestmark = pytest.mark.filterwarnings("ignore::ResourceWarning") + pytestmark = pytest.mark.filterwarnings("ignore::ResourceWarning") # pragma: no cover class ErrorTest(unittest.TestCase): diff --git a/acme/acme/standalone_test.py b/acme/acme/standalone_test.py index 4e93157d0..7224515d4 100644 --- a/acme/acme/standalone_test.py +++ b/acme/acme/standalone_test.py @@ -23,7 +23,7 @@ from acme.magic_typing import Set # pylint: disable=unused-import, no-name-in-mo # turns all ResourceWarnings into errors for this module if six.PY3: - pytestmark = pytest.mark.filterwarnings("ignore::ResourceWarning") + pytestmark = pytest.mark.filterwarnings("ignore::ResourceWarning") # pragma: no cover class TLSServerTest(unittest.TestCase): diff --git a/acme/acme/util_test.py b/acme/acme/util_test.py index 7bb308635..58e8aeb83 100644 --- a/acme/acme/util_test.py +++ b/acme/acme/util_test.py @@ -6,7 +6,7 @@ import six # turns all ResourceWarnings into errors for this module if six.PY3: - pytestmark = pytest.mark.filterwarnings("ignore::ResourceWarning") + pytestmark = pytest.mark.filterwarnings("ignore::ResourceWarning") # pragma: no cover class MapKeysTest(unittest.TestCase): diff --git a/certbot-dns-rfc2136/certbot_dns_rfc2136/dns_rfc2136_test.py b/certbot-dns-rfc2136/certbot_dns_rfc2136/dns_rfc2136_test.py index 4af8ab9ef..3e8c1e6ee 100644 --- a/certbot-dns-rfc2136/certbot_dns_rfc2136/dns_rfc2136_test.py +++ b/certbot-dns-rfc2136/certbot_dns_rfc2136/dns_rfc2136_test.py @@ -23,7 +23,7 @@ VALID_CONFIG = {"rfc2136_server": SERVER, "rfc2136_name": NAME, "rfc2136_secret" # turns all ResourceWarnings into errors for this module if six.PY3: - pytestmark = pytest.mark.filterwarnings("ignore::ResourceWarning") + pytestmark = pytest.mark.filterwarnings("ignore::ResourceWarning") # pragma: no cover class AuthenticatorTest(test_util.TempDirTestCase, dns_test_common.BaseAuthenticatorTest): diff --git a/certbot/tests/log_test.py b/certbot/tests/log_test.py index f722f2c97..35cd6b388 100644 --- a/certbot/tests/log_test.py +++ b/certbot/tests/log_test.py @@ -21,7 +21,7 @@ from certbot.tests import util as test_util # turns all ResourceWarnings into errors for this module if six.PY3: - pytestmark = pytest.mark.filterwarnings("ignore::ResourceWarning") + pytestmark = pytest.mark.filterwarnings("ignore::ResourceWarning") # pragma: no cover class PreArgParseSetupTest(unittest.TestCase): diff --git a/certbot/tests/main_test.py b/certbot/tests/main_test.py index bf0e6b1ca..90de986bb 100644 --- a/certbot/tests/main_test.py +++ b/certbot/tests/main_test.py @@ -50,7 +50,7 @@ SS_CERT_PATH = test_util.vector_path('cert_2048.pem') # turns all ResourceWarnings into errors for this module if six.PY3: - pytestmark = pytest.mark.filterwarnings("ignore::ResourceWarning") + pytestmark = pytest.mark.filterwarnings("ignore::ResourceWarning") # pragma: no cover class TestHandleIdenticalCerts(unittest.TestCase):