def METHOD_NAME(
    self,
):
    self.all_stacks[1].obsolete = True
    self.all_stacks[3].obsolete = False
    self.all_stacks[4].obsolete = False
    self.all_stacks[5].obsolete = False
    self.all_stacks[3].dependencies.append(self.all_stacks[1])
    self.all_stacks[4].dependencies.append(self.all_stacks[3])
    self.all_stacks[5].dependencies.append(self.all_stacks[3])
    with pytest.raises(CannotPruneStackError):
        self.pruner.prune()