MCPcopy
hub / github.com/pytest-dev/pytest / _get_increasing_order

Method _get_increasing_order

src/_pytest/cacheprovider.py:457–458  ·  view source on GitHub ↗
(self, items: Iterable[nodes.Item])

Source from the content-addressed store, hash-verified

455 return res
456
457 def _get_increasing_order(self, items: Iterable[nodes.Item]) -> list[nodes.Item]:
458 return sorted(items, key=lambda item: item.path.stat().st_mtime, reverse=True)
459
460 def pytest_sessionfinish(self) -> None:
461 config = self.config

Callers 1

Calls 1

statMethod · 0.80

Tested by

no test coverage detected