code: def test_from_tuples_with_tuple_label():
      # GH 15457
      expected = pd.DataFrame(
          [[2, 1, 2], [4, (1, 2), 3]], columns=["a", "b", "c"]
      ).set_index(["a", "b"])
      idx = MultiIndex.from_tuples(
          [(2, 1), (4, (1, 2))], names=("a", "b")
      )
      result = pd.DataFrame([2, 3], columns=["c"], index=idx)
      tm.assert_frame_equal(expected, result)
  
imports: from datetime import date, datetime
  import itertools
  import numpy
  import pytest
  from pandas.core.dtypes.cast import construct_1d_object_array_from_listlike
  import pandas
  from pandas import Index, MultiIndex, Series, Timestamp, date_range
  import pandas._testing
label_desc: Use image node_id 22 for calling a global function with example usage: test_from_tuples_with_tuple_label() without return types