示例#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
文件: nodes.py 项目: xxoolm/Ryven
 def update_event(self, inp=-1):
     self.set_output_val(0, _dummy_thread._set_sentinel())