Commit c50ca752 authored by Jérome Perrin's avatar Jérome Perrin

tests: normalize "Python 2 is no longer supported" warnings from cryptography

parent 07ecb077
...@@ -41,6 +41,8 @@ def setUp(test): ...@@ -41,6 +41,8 @@ def setUp(test):
normalize_setuptools_42 = re.compile( normalize_setuptools_42 = re.compile(
'WARNING: The easy_install command is deprecated and will be removed in a future version\\.\n'), '' 'WARNING: The easy_install command is deprecated and will be removed in a future version\\.\n'), ''
normalize_cryptography_3_on_python2 = re.compile(
'.*CryptographyDeprecationWarning: Python 2 is no longer supported.*\n.*\n'), ''
def test_suite(): def test_suite():
...@@ -53,6 +55,7 @@ def test_suite(): ...@@ -53,6 +55,7 @@ def test_suite():
testing.normalize_path, testing.normalize_path,
testing.not_found, testing.not_found,
normalize_setuptools_42, normalize_setuptools_42,
normalize_cryptography_3_on_python2,
)), )),
) for filename in [ ) for filename in [
'README.txt', 'README.txt',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment