コード例 #1
0
ファイル: test_dummy_thread.py プロジェクト: 3lnc/cpython
 def test_set_sentinel(self):
     self.assertIsInstance(_thread._set_sentinel(), _thread.LockType,
                           "_thread._set_sentinel() did not return a "
                           "LockType instance.")
コード例 #2
0
 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())