MCPcopy Create free account
hub / github.com/pytest-dev/pytest / _get_increasing_order

Method _get_increasing_order

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

Source from the content-addressed store, hash-verified

419 self.cached_nodeids.update(item.nodeid for item in items)
420
421 def _get_increasing_order(self, items: Iterable[nodes.Item]) -> List[nodes.Item]:
422 return sorted(items, key=lambda item: item.path.stat().st_mtime, reverse=True) # type: ignore[no-any-return]
423
424 def pytest_sessionfinish(self) -> None:
425 config = self.config

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected