recwarn: type annotate pytest.deprecated_call
recwarn: type annotate pytest.deprecated_call

Also improve its documentation.

The-Compiler/pytest,The-Compiler/pytest,RonnyPfannschmidt/pytest,nicoddemus/pytest,pytest-dev/pytest,Akasurde/pytest,markshao/pytest,nicoddemus/pytest