Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
41
class
TestCase(unittest.TestCase):
Callers
2
test_enter_concurrent
Method · 0.95
test_cancel_concurrent
Method · 0.95
Calls
1
notify_all
Method · 0.45
Tested by
no test coverage detected