code: def test_set_jump_to_old_node(self):
      parent_lineage = LineageNode(1)
      child_lineage = LineageNode(2)
      parent_lineage.set_jump(child_lineage)
  
      another_child_lineage = LineageNode(3)
  
      with pytest.raises(
          RuntimeError, match="Trying to jump to an existing node"
      ):
          another_child_lineage.set_jump(child_lineage)
  
      assert child_lineage.parent is None
      assert child_lineage.jumps == []
      assert child_lineage.base is parent_lineage
  
      assert another_child_lineage.parent is None
      assert another_child_lineage.jumps == []
      assert another_child_lineage.base is None
  
      assert parent_lineage.children == []
      assert parent_lineage.jumps == [child_lineage]
      assert parent_lineage.base is None
  
imports: import os
  import random
  import pytest
  from base import ObjectiveStub, TrialStub, build_full_tree, build_population, compare_generations
  from orion.algo.pbt.pbt import LineageNode, Lineages
label_desc: Use image node_id 5 for calling the TestLineageNode obj's underlying member method code with example usage: obj.test_set_jump_to_old_node() without return types