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

Method empty

src/_pytest/stepwise.py:88–93  ·  view source on GitHub ↗
(cls)

Source from the content-addressed store, hash-verified

86
87 @classmethod
88 def empty(cls) -> Self:
89 return cls(
90 last_failed=None,
91 last_test_count=None,
92 last_cache_date_str=datetime.now().isoformat(),
93 )
94
95 def update_date_to_now(self) -> None:
96 self.last_cache_date_str = datetime.now().isoformat()

Callers 1

_load_cached_infoMethod · 0.80

Calls 1

clsFunction · 0.85

Tested by

no test coverage detected