code: def test_convert_to_mtype_list():
      """Testing convert_to call to_type being a list, of same scitype."""
      # convert_to list
      target_list = MTYPES_SERIES[:2]
      scitype = SCITYPES[0]
  
      # example that is on the list
      from_fixt_on = get_examples(
          mtype=MTYPES_SERIES[1], as_scitype=scitype
      ).get(0)
      # example that is not on the list
      from_fixt_off = get_examples(
          mtype=MTYPES_SERIES[2], as_scitype=scitype
      ).get(0)
  
      # if on the list, result should be equal to input
      exp_fixt_on = get_examples(
          mtype=MTYPES_SERIES[1], as_scitype=scitype
      ).get(0)
      # if off the list, result should be converted to mtype that is first on the list
      exp_fixt_off = get_examples(
          mtype=MTYPES_SERIES[0], as_scitype=scitype
      ).get(0)
  
      # carry out the conversion using convert_to
      converted_on = convert_to(from_fixt_on, to_type=target_list)
      converted_off = convert_to(from_fixt_off, to_type=target_list)
  
      # compare expected output with actual output of convert_to
      msg = "convert_to call does not work with list for to_type."
      assert deep_equals(converted_on, exp_fixt_on), msg
      assert deep_equals(converted_off, exp_fixt_off), msg
  
imports: from sktime.datatypes._convert import convert_to
  from sktime.datatypes._examples import get_examples
  from sktime.utils._testing.deep_equals import deep_equals
label_desc: Use image node_id 3 for calling a global function with example usage: test_convert_to_mtype_list() without return types