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

Method test_notify

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

Source from the content-addressed store, hash-verified

726 self.assertEqual(results2, [(True, 2)] * count1 + [(True, 3)] * count2)
727
728 def test_notify(self):
729 cond = self.condtype()
730 self._check_notify(cond)
731 # A second time, to check internal state is still ok.
732 self._check_notify(cond)
733
734 def test_timeout(self):
735 cond = self.condtype()

Callers

nothing calls this directly

Calls 1

_check_notifyMethod · 0.95

Tested by

no test coverage detected