Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ advance_time
Method
advance_time
Lib/test/test_asyncio/utils.py:376–379 ·
view source on GitHub ↗
Move test time forward.
(self, advance)
Source
from the content-addressed store, hash-verified
374
return
self._time
375
376
def
advance_time(self, advance):
377
""
"Move test time forward."
""
378
if
advance:
379
self._time += advance
380
381
def
close(self):
382
super().close()
Callers
11
_run_once
Method · 0.95
test_wait_first_completed
Method · 0.80
test_wait_first_exception
Method · 0.80
test_wait_first_exception_in_wait
Method · 0.80
test_wait_with_timeout
Method · 0.80
test_wait_concurrent_complete
Method · 0.80
sleeper
Method · 0.80
try_iterator
Method · 0.80
try_async_iterator
Method · 0.80
test_as_completed_with_timeout
Method · 0.80
test
Method · 0.80
Calls
no outgoing calls
Tested by
10
test_wait_first_completed
Method · 0.64
test_wait_first_exception
Method · 0.64
test_wait_first_exception_in_wait
Method · 0.64
test_wait_with_timeout
Method · 0.64
test_wait_concurrent_complete
Method · 0.64
sleeper
Method · 0.64
try_iterator
Method · 0.64
try_async_iterator
Method · 0.64
test_as_completed_with_timeout
Method · 0.64
test
Method · 0.64