def test_set_sentinel(self): self.assertIsInstance(_thread._set_sentinel(), _thread.LockType, "_thread._set_sentinel() did not return a " "LockType instance.")
def test_set_sentinel(self): self.assertIsInstance( _thread._set_sentinel(), _thread.LockType, "_thread._set_sentinel() did not return a " "LockType instance.")
def update_event(self, inp=-1): self.set_output_val(0, _dummy_thread._set_sentinel())