Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/EasyIME/PIME
/ test_event_set_multiple
Method
test_event_set_multiple
python/python3/tornado/test/locks_test.py:228–232 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
226
yield
e.wait(timedelta(seconds=1))
227
228
def
test_event_set_multiple(self):
229
e = locks.Event()
230
e.set()
231
e.set()
232
self.assertTrue(e.is_set())
233
234
def
test_event_wait_clear(self):
235
e = locks.Event()
Callers
nothing calls this directly
Calls
2
set
Method · 0.95
is_set
Method · 0.95
Tested by
no test coverage detected