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)
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)