Add CHANGELOG entries for #2452

Fix #2452
Fix #2684
This commit is contained in:
Bruno Oliveira 2018-09-03 14:15:23 -03:00
parent 208dd3aad1
commit 7e13593452
2 changed files with 7 additions and 0 deletions

View File

@ -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.

View File

@ -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``.