diff options
Diffstat (limited to 'src/_pytest/cacheprovider.py')
-rwxr-xr-x | src/_pytest/cacheprovider.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/_pytest/cacheprovider.py b/src/_pytest/cacheprovider.py index 480319c03..585cebf6c 100755 --- a/src/_pytest/cacheprovider.py +++ b/src/_pytest/cacheprovider.py @@ -415,7 +415,7 @@ class NFPlugin: self.cached_nodeids.update(item.nodeid for item in items) def _get_increasing_order(self, items: Iterable[nodes.Item]) -> List[nodes.Item]: - return sorted(items, key=lambda item: item.fspath.mtime(), reverse=True) # type: ignore[no-any-return] + return sorted(items, key=lambda item: item.fspath.mtime(), reverse=True) def pytest_sessionfinish(self) -> None: config = self.config |