code: def test_convert_to_mtype_list_different_scitype():
      """Testing convert_to call to_type being a list, of different scitypes."""
      # convert_to list
      target_list = MTYPES_SERIES[:2] + MTYPES_PANEL[:2]
      scitype0 = SCITYPES[0]
      scitype1 = SCITYPES[1]
  
      # example that is on the list and of scitype0
      from_fixt_on_0 = get_examples(
          mtype=MTYPES_SERIES[1], as_scitype=scitype0
      ).get(0)
      # example that is not on the list and of scitype0
      from_fixt_off_0 = get_examples(
          mtype=MTYPES_SERIES[2], as_scitype=scitype0
      ).get(0)
      # example that is on the list and of scitype1
      from_fixt_on_1 = get_examples(
          mtype=MTYPES_PANEL[1], as_scitype=scitype1
      ).get(0)
      # example that is not on the list and of scitype1
      from_fixt_off_1 = get_examples(
          mtype=MTYPES_PANEL[2], as_scitype=scitype1
      ).get(0)
  
      # if on the list, result should be equal to input
      exp_fixt_on_0 = get_examples(
          mtype=MTYPES_SERIES[1], as_scitype=scitype0
      ).get(0)
      exp_fixt_on_1 = get_examples(
          mtype=MTYPES_PANEL[1], as_scitype=scitype1
      ).get(0)
      # if off the list, result should be converted to mtype
      #   of the same scitype that appears earliest on the list
      exp_fixt_off_0 = get_examples(
          mtype=MTYPES_SERIES[0], as_scitype=scitype0
      ).get(0)
      exp_fixt_off_1 = get_examples(
          mtype=MTYPES_PANEL[0], as_scitype=scitype1
      ).get(0)
  
      # carry out the conversion using convert_to
      converted_on_0 = convert_to(from_fixt_on_0, to_type=target_list)
      converted_off_0 = convert_to(from_fixt_off_0, to_type=target_list)
      converted_on_1 = convert_to(from_fixt_on_1, to_type=target_list)
      converted_off_1 = convert_to(from_fixt_off_1, 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 of different scitypes."
      assert deep_equals(converted_on_0, exp_fixt_on_0), msg
      assert deep_equals(converted_off_0, exp_fixt_off_0), msg
      assert deep_equals(converted_on_1, exp_fixt_on_1), msg
      assert deep_equals(converted_off_1, exp_fixt_off_1), 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 4 for calling a global function with example usage: test_convert_to_mtype_list_different_scitype() without return types