code: def test_truncate_trial_not_in_trials(self, space, monkeypatch):
      trial = space.sample(1, seed=2)[0]
  
      lineages = build_lineages_for_exploit(space, monkeypatch)
  
      exploit = self.constructor()
  
      with pytest.raises(
          ValueError,
          match=f"Trial {trial.id} not included in list of completed trials.",
      ):
          exploit(numpy.random.RandomState(1), trial, lineages)
  
imports: import numpy
  import pytest
  from base import RNGStub, TrialStub
  from orion.algo.pbt.exploit import BacktrackExploit, PipelineExploit, TruncateExploit
  from orion.algo.pbt.pbt import Lineages
label_desc: Use image node_id 3 for calling the TruncateGenericTests obj's underlying member method code with example usage: obj.test_truncate_trial_not_in_trials(space, monkeypatch) without return types