Merge pull request #4595 from auscompgeek/patch-1

Fix PEP 565 typo in warnings.rst
This commit is contained in:
Anthony Sottile 2019-01-04 09:56:23 -08:00 committed by GitHub
commit 82a0308bc6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -155,7 +155,7 @@ DeprecationWarning and PendingDeprecationWarning
.. versionchanged:: 3.9 .. versionchanged:: 3.9
By default pytest will display ``DeprecationWarning`` and ``PendingDeprecationWarning`` warnings from By default pytest will display ``DeprecationWarning`` and ``PendingDeprecationWarning`` warnings from
user code and third-party libraries, as recommended by `PEP-0506 <https://www.python.org/dev/peps/pep-0565>`_. user code and third-party libraries, as recommended by `PEP-0565 <https://www.python.org/dev/peps/pep-0565>`_.
This helps users keep their code modern and avoid breakages when deprecated warnings are effectively removed. This helps users keep their code modern and avoid breakages when deprecated warnings are effectively removed.
Sometimes it is useful to hide some specific deprecation warnings that happen in code that you have no control over Sometimes it is useful to hide some specific deprecation warnings that happen in code that you have no control over