8c25a14032
* fixed changelog/*.rst docs * add author name * fixed-documents * fix issue 8761 doc * fix issue 8645 doc * fix issue 8447 doc * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
5 lines
284 B
ReStructuredText
5 lines
284 B
ReStructuredText
:func:`pytest.warns(None) <pytest.warns>` is now deprecated because many people used
|
|
it to mean "this code does not emit warnings", but it actually had the effect of
|
|
checking that the code emits at least one warning of any type - like ``pytest.warns()``
|
|
or ``pytest.warns(Warning)``.
|