Ignore py36 deprecation warnings

Change-Id: If9403c2176f868158370b3f9e1195d2f7304583b
This commit is contained in:
Tim Burke 2022-04-28 15:48:13 -07:00
parent b621a6f932
commit 7298038ed9
2 changed files with 8 additions and 0 deletions

View File

@ -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.'))

View File

@ -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