Stop using the deprecated `\.warn()` log handler method
Stop using the deprecated `\.warn()` log handler method

hackebrot/pytest,Akasurde/pytest,pytest-dev/pytest,tomviner/pytest,alfredodeza/pytest,markshao/pytest,tomviner/pytest,RonnyPfannschmidt/pytest,The-Compiler/pytest,nicoddemus/pytest,nicoddemus/pytest,The-Compiler/pytest