code: def test_generate_offspring_timeout(
      self, space: Space, caplog: pytest.LogCaptureFixture
  ):
      pbt = _create_algo(
          space,
          exploit=ExploitStub(rval=None).configuration,
          explore=ExploreStub(rval="toset").configuration,
          fork_timeout=0.05,
      ).unwrap(PBT)
      trial = sample_trials(
          pbt.space, 1, status="completed", objective=1
      )[0]
      pbt.explore_func.rval = trial.params
  
      pbt.register(trial)
      parent = trial.branch(
          params={"f": pbt.fidelities[space["f"].low]}
      )
      pbt.register(parent)
  
      with caplog.at_level(logging.INFO):
          trial_to_branch, new_trial = pbt._generate_offspring(trial)
  
      assert (
          "Could not generate unique new parameters"
          in caplog.records[-1].message
      )
      assert trial_to_branch is None
      assert new_trial is None
  
imports: from __future__ import annotations
  import functools
  import logging
  from typing import ClassVar
  import numpy
  import pytest
  from base import ExploitStub, ExploreStub, sample_trials
  from pytest_mock import MockerFixture
  from orion.algo.pbt.pbt import PBT, compute_fidelities
  from orion.algo.space import Space
  from orion.core.worker.primary_algo import SpaceTransform, create_algo
  from orion.core.worker.transformer import ReshapedSpace, TransformedSpace
  from orion.core.worker.trial import Trial
  from orion.testing.algo import BaseAlgoTests, TestPhase
label_desc: Use image node_id 5 for calling the TestPBTSuggest obj's underlying member method code with example usage: obj.test_generate_offspring_timeout(space, caplog) without return types