Ejemplo n.º 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.")
Ejemplo n.º 3
0
 def update_event(self, inp=-1):
     self.set_output_val(0, _dummy_thread._set_sentinel())