()
return None
Returns the thread group that owns or is blocked on the active thread.

  Returns:
    Returns None if no TimeoutRetryThreadGroup is tracking the current thread.
Returns the thread group that owns or is blocked on the active thread.
Returns the thread group that owns or is blocked on the active thread .
def CurrentTimeoutThreadGroup():
  """Returns the thread group that owns or is blocked on the active thread.

  Returns:
    Returns None if no TimeoutRetryThreadGroup is tracking the current thread.
  """
  thread_group = reraiser_thread.CurrentThreadGroup()
  while thread_group:
    if isinstance(thread_group, TimeoutRetryThreadGroup):
      return thread_group
    thread_group = thread_group.blocked_parent_thread_group
  return None
def CurrentTimeoutThreadGroup ( ) : thread_group = reraiser_thread . CurrentThreadGroup ( ) while thread_group : if isinstance ( thread_group , TimeoutRetryThreadGroup ) : return thread_group thread_group = thread_group . blocked_parent_thread_group return None