MCPcopy Index your code
hub / github.com/RustPython/RustPython / test_notify

Method test_notify

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

Source from the content-addressed store, hash-verified

521 self.assertEqual(results2, [True] * N)
522
523 def test_notify(self):
524 evt = self.eventtype()
525 self._check_notify(evt)
526 # Another time, after an explicit clear()
527 evt.set()
528 evt.clear()
529 self._check_notify(evt)
530
531 def test_timeout(self):
532 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