Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/pytest-dev/pytest
/ time
Method
time
src/_pytest/timing.py:85–86 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
83
self._current_time += seconds
84
85
def
time(self) -> float:
86
return
self._current_time
87
88
def
patch(self, monkeypatch: MonkeyPatch) -> None:
89
# pylint: disable-next=import-self
Callers
4
__enter__
Method · 0.80
__exit__
Method · 0.80
test_setmtime
Method · 0.80
test_atime
Method · 0.80
Calls
no outgoing calls
Tested by
4
__enter__
Method · 0.64
__exit__
Method · 0.64
test_setmtime
Method · 0.64
test_atime
Method · 0.64