code: def test_raises_on_non_transformers(self):
      # given
      input_list = list(range(10))
  
      # when & then
      with pytest.raises(ValueError) as err:
          Pipeline(input_list)
  
      assert (
          str(err.value)
          == "transformers should be objects deriving from BaseDataTransformer"
      )
  
imports: from typing import Any, Mapping
  import pytest
  from darts import TimeSeries
  from darts.dataprocessing import Pipeline
  from darts.dataprocessing.transformers import BaseDataTransformer, FittableDataTransformer, InvertibleDataTransformer, InvertibleMapper, Mapper
  from darts.utils.timeseries_generation import constant_timeseries
label_desc: Use image node_id 9 for calling the TestPipeline obj's underlying member method code with example usage: obj.test_raises_on_non_transformers() without return types