code: def test_input_and_output_transformer_wrapper_should_raise_an_assertion_error_if_ids_have_not_been_resampled_correctly():
      with pytest.raises(AssertionError):
          p = IdsInputAndOutputTransformerWrapper(
              ChangeLenDataInputsAndExpectedOutputsWithoutIds()
          )
          ids, data_inputs, expected_outputs = _create_data_source(
              (10, 10), with_ids=True
          )
  
          p.handle_transform(
              DACT(
                  ids=ids,
                  data_inputs=data_inputs,
                  expected_outputs=expected_outputs,
              ),
              CX(),
          )
  
imports: import numpy
  import pytest
  from neuraxle.base import BaseTransformer
  from neuraxle.base import ExecutionContext
  from neuraxle.base import ForceHandleMixin
  from neuraxle.data_container import EOT
  from neuraxle.data_container import DataContainer
  from neuraxle.hyperparams.space import HyperparameterSamples
  from neuraxle.pipeline import Pipeline
  from neuraxle.steps.misc import FitCallbackStep, TapeCallbackFunction
  from neuraxle.steps.numpy import MultiplyByN
  from neuraxle.steps.output_handlers import IdsInputAndOutputTransformerWrapper, OutputTransformerWrapper
label_desc: Use image node_id 8 for calling a global function with example usage: test_input_and_output_transformer_wrapper_should_raise_an_assertion_error_if_ids_have_not_been_resampled_correctly() without return types