Ignore py36 deprecation warnings
Change-Id: If9403c2176f868158370b3f9e1195d2f7304583b
This commit is contained in:
parent
b621a6f932
commit
7298038ed9
@ -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.'))
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user