Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ time
Method
time
Lib/test/test_asyncio/utils.py:373–374 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
371
self._transports = weakref.WeakValueDictionary()
372
373
def
time(self):
374
return
self._time
375
376
def
advance_time(self, advance):
377
""
"Move test time forward."
""
Callers
15
test_formatdate
Method · 0.45
test_formatdate_localtime
Method · 0.45
test_formatdate_usegmt
Method · 0.45
test_run_until_complete
Method · 0.45
test_close
Method · 0.45
test_timeout_at_basic
Method · 0.45
test_nested_timeouts
Method · 0.45
test_timeout_not_called
Method · 0.45
test_timeout_zero
Method · 0.45
test_timeout_zero_sleep_zero
Method · 0.45
test_timeout_in_the_past_sleep_zero
Method · 0.45
test_nested_timeouts_loop_busy
Method · 0.45
Calls
no outgoing calls
Tested by
15
test_formatdate
Method · 0.36
test_formatdate_localtime
Method · 0.36
test_formatdate_usegmt
Method · 0.36
test_run_until_complete
Method · 0.36
test_close
Method · 0.36
test_timeout_at_basic
Method · 0.36
test_nested_timeouts
Method · 0.36
test_timeout_not_called
Method · 0.36
test_timeout_zero
Method · 0.36
test_timeout_zero_sleep_zero
Method · 0.36
test_timeout_in_the_past_sleep_zero
Method · 0.36
test_nested_timeouts_loop_busy
Method · 0.36