Skip to content

Commit

Permalink
Add CHANGELOG entries for pytest-dev#2452
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoddemus committed Sep 3, 2018
1 parent a3c0209 commit 01699e9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions changelog/2452.feature.rst
@@ -0,0 +1,5 @@
Internal pytest warnings are now issued using the standard ``warnings`` module, making it possible to use
the standard warnings filters to manage those warnings. This introduces ``PytestWarning``,
``PytestDeprecationWarning`` and ``RemovedInPytest4Warning`` warning types as part of the public API.

Consult `the documentation <https://docs.pytest.org/en/latest/warnings.html#internal-pytest-warnings>`_ for more info.
2 changes: 2 additions & 0 deletions changelog/2452.removal.rst
@@ -0,0 +1,2 @@
The functions ``Node.warn`` and ``Config.warn`` have been deprecated. Instead of ``Node.warn`` users should now use
``Node.std_warn``, while ``Config.warn`` should be replaced by the standard ``warnings.warn``.

0 comments on commit 01699e9

Please sign in to comment.