MCPcopy Index your code
hub / github.com/python/cpython / advance

Method advance

Lib/test/test_sched.py:34–38  ·  view source on GitHub ↗
(self, t)

Source from the content-addressed store, hash-verified

32
33 # advance time limit for user code
34 def advance(self, t):
35 assert t >= 0
36 with self._cond:
37 self._stop += t
38 self._cond.notify_all()
39
40
41class TestCase(unittest.TestCase):

Callers 2

test_enter_concurrentMethod · 0.95

Calls 1

notify_allMethod · 0.45

Tested by

no test coverage detected