last_failed_paths: improve caching
last_failed_paths: improve caching

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