code: def test_translation_on_odd_language(self):
      model = "patrickvonplaten/t5-tiny-random"
      translator = pipeline(task="translation_cn_to_ar", model=model)
      self.assertEqual(translator._preprocess_params["src_lang"], "cn")
      self.assertEqual(translator._preprocess_params["tgt_lang"], "ar")
  
file_path: transformers/tests/pipelines/test_pipelines_translation.py
imports: import unittest
  import pytest
  from transformers import MODEL_FOR_SEQ_TO_SEQ_CAUSAL_LM_MAPPING, TF_MODEL_FOR_SEQ_TO_SEQ_CAUSAL_LM_MAPPING, MBart50TokenizerFast, MBartConfig, MBartForConditionalGeneration, TranslationPipeline, pipeline
  from transformers.testing_utils import is_pipeline_test, require_tf, require_torch, slow
  from .test_pipelines_common import ANY
label_desc: Use image node_id 3 for calling the TranslationNewFormatPipelineTests obj's underlying member method code with example usage: obj.test_translation_on_odd_language() without return types