code: def test_decompose_operation_remove_in_pipeline():
      """
      In the process of evolution, edges and nodes may have been removed from the decompose pipeline.
      Or decompose node could be replaced with a new one. Such pipelines are incorrect.
      In this test replacement the class_decompose with logit operation is performed
      """
      current_pipeline = correct_decompose_pipeline()
      for node in current_pipeline.nodes:
          if node.operation.operation_type == "class_decompose":
              # Replace decompose node with simple classification model
              node.operation.operation_type = "logit"
  
      with pytest.raises(ValueError) as exc:
          has_no_conflicts_during_multitask(current_pipeline)
  
      assert (
          str(exc.value)
          == f"{PIPELINE_ERROR_PREFIX} Current pipeline can not solve multitask problem"
      )
  
imports: import pytest
  from fedot.core.pipelines.node import PipelineNode
  from fedot.core.pipelines.pipeline import Pipeline
  from fedot.core.pipelines.verification import verify_pipeline
  from fedot.core.pipelines.verification_rules import has_correct_operations_for_task, has_final_operation_as_model, has_no_conflicts_in_decompose, has_no_conflicts_with_data_flow, has_no_data_flow_conflicts_in_ts_pipeline, has_primary_nodes, only_non_lagged_operations_are_primary, has_correct_data_sources, has_parent_contain_single_resample, has_no_conflicts_during_multitask, has_no_conflicts_after_class_decompose
  from fedot.core.repository.tasks import Task, TaskTypesEnum
  from golem.core.dag.verification_rules import has_no_cycle
label_desc: Use image node_id 24 for calling a global function with example usage: test_decompose_operation_remove_in_pipeline() without return types