diff --git a/swift/__init__.py b/swift/__init__.py index 2b25322773..fff22a0889 100644 --- a/swift/__init__.py +++ b/swift/__init__.py @@ -85,3 +85,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 the next release.')) +warnings.filterwarnings('ignore', message=( + 'Python 3.6 is no longer supported by the Python core team. ' + 'Therefore, support for it is deprecated in cryptography ' + 'and will be removed in a future release.')) diff --git a/test/__init__.py b/test/__init__.py index 959cb6755f..fbcb273679 100644 --- a/test/__init__.py +++ b/test/__init__.py @@ -46,6 +46,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 the next release.')) +warnings.filterwarnings('ignore', message=( + 'Python 3.6 is no longer supported by the Python core team. ' + 'Therefore, support for it is deprecated in cryptography ' + 'and will be removed in a future release.')) if sys.version_info < (3, 2): import unittest