forked from pytest-dev/pytest
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add CHANGELOG entries for pytest-dev#2452
Fix pytest-dev#2452 Fix pytest-dev#2684
- Loading branch information
1 parent
208dd3a
commit 7e13593
Showing
2 changed files
with
7 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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``. |