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

Method test_notify

Lib/test/lock_tests.py:526–532  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

524 self.assertEqual(results2, [True] * N)
525
526 def test_notify(self):
527 evt = self.eventtype()
528 self._check_notify(evt)
529 # Another time, after an explicit clear()
530 evt.set()
531 evt.clear()
532 self._check_notify(evt)
533
534 def test_timeout(self):
535 evt = self.eventtype()

Callers

nothing calls this directly

Calls 3

_check_notifyMethod · 0.95
setMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected