docstr: Checks if the n_jobs param applied to the pipeline is changing the verbosity level in the
  contained transformers.
docstr_tok: ["Checks","if","the","n_jobs","param","applied","to","the","pipeline","is","changing","the","verbosity","level","in","the","contained","transformers","."]
code: def test_pipeline_n_jobs(self):
      """
      Checks if the n_jobs param applied to the pipeline is changing the verbosity level in the
      contained transformers.
      """
  
      def plus_ten(x):
          return x + 10
  
      mapper = Mapper(fn=plus_ten, n_jobs=1)
      mapper_inv = InvertibleMapper(
          fn=lambda x: x + 2, inverse_fn=lambda x: x - 2, n_jobs=2
      )
  
      n_jobs_value = -1
      pipeline = Pipeline([mapper, mapper_inv], n_jobs=n_jobs_value)
  
      for transformer in pipeline:
          assert transformer._n_jobs == n_jobs_value
  
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 14 for calling the TestPipeline obj's underlying member method code with example usage: obj.test_pipeline_n_jobs() and returns: unknown