diff --git a/swift/__init__.py b/swift/__init__.py index 88fc403cec..2b25322773 100644 --- a/swift/__init__.py +++ b/swift/__init__.py @@ -81,3 +81,7 @@ warnings.filterwarnings('ignore', module='cryptography|OpenSSL', message=( 'Python 2 is no longer supported by the Python core team. ' 'Support for it is now deprecated in cryptography, ' 'and will be removed in a future release.')) +warnings.filterwarnings('ignore', module='cryptography|OpenSSL', message=( + 'Python 2 is no longer supported by the Python core team. ' + 'Support for it is now deprecated in cryptography, ' + 'and will be removed in the next release.')) diff --git a/test/__init__.py b/test/__init__.py index 363efb53c7..481098062b 100644 --- a/test/__init__.py +++ b/test/__init__.py @@ -42,6 +42,10 @@ warnings.filterwarnings('ignore', module='cryptography|OpenSSL', message=( 'Python 2 is no longer supported by the Python core team. ' 'Support for it is now deprecated in cryptography, ' 'and will be removed in a future release.')) +warnings.filterwarnings('ignore', module='cryptography|OpenSSL', message=( + 'Python 2 is no longer supported by the Python core team. ' + 'Support for it is now deprecated in cryptography, ' + 'and will be removed in the next release.')) from eventlet.green import socket