Ejemplo n.º 1
0
 def test_find_thread_stack_found(self):
     thread_id = current_thread_id()
     found_stack = stack_utils._find_thread_stack(thread_id)
     self.assertIsNotNone(found_stack)
Ejemplo n.º 2
0
 def test_find_thread_stack_not_found(self):
     found_stack = stack_utils._find_thread_stack(0)
     self.assertIsNone(found_stack)
 def test_find_thread_stack_not_found(self):
     found_stack = stack_utils._find_thread_stack(0)
     self.assertEqual(found_stack, None)