Пример #1
0
 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.")
Пример #3
0
 def update_event(self, inp=-1):
     self.set_output_val(0, _dummy_thread._set_sentinel())