ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / cryptography / cryptography-py27-warning.patch
blob8233af78a9de35578fe8f81604c7738159182f6e
1 Delete the warning that breaks tests of dependent projects.
3 --- a/src/cryptography/__init__.py
4 +++ b/src/cryptography/__init__.py
5 @@ -33,9 +32,0 @@ __all__ = [
7 -if sys.version_info[0] == 2:
8 - warnings.warn(
9 - "Python 2 is no longer supported by the Python core team. Support for "
10 - "it is now deprecated in cryptography, and will be removed in the "
11 - "next release.",
12 - CryptographyDeprecationWarning,
13 - stacklevel=2,
14 - )