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

Method time

testing/conftest.py:204–205  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

202 self._current_time += seconds
203
204 def time(self):
205 return self._current_time
206
207 def patch(self):
208 from _pytest import timing

Callers 10

pytest_sessionstartMethod · 0.80
pytest_sessionfinishMethod · 0.80
runpytest_inprocessMethod · 0.80
runMethod · 0.80
pytest_collectionMethod · 0.80
report_collectMethod · 0.80
pytest_sessionstartMethod · 0.80
summary_statsMethod · 0.80
from_callMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected