parent
208dd3aad1
commit
7e13593452
|
@ -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.
|
|
@ -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``.
|
Loading…
Reference in New Issue