From 7298038ed90fe5824c250975045a6f0a3eb39d04 Mon Sep 17 00:00:00 2001 From: Tim Burke Date: Thu, 28 Apr 2022 15:48:13 -0700 Subject: [PATCH] Ignore py36 deprecation warnings Change-Id: If9403c2176f868158370b3f9e1195d2f7304583b --- swift/__init__.py | 4 ++++ test/__init__.py | 4 ++++ 2 files changed, 8 insertions(+) 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