MCPcopy 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_onceMethod · 0.95
sleeperMethod · 0.80
try_iteratorMethod · 0.80
try_async_iteratorMethod · 0.80
testMethod · 0.80

Calls

no outgoing calls

Tested by 10

sleeperMethod · 0.64
try_iteratorMethod · 0.64
try_async_iteratorMethod · 0.64
testMethod · 0.64