code: def test_from_product_invalid_input(invalid_input):
      msg = r"Input must be a list / sequence of iterables|Input must be list-like"
      with pytest.raises(TypeError, match=msg):
          MultiIndex.from_product(iterables=invalid_input)
  
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 27 for calling a global function with example usage: test_from_product_invalid_input(invalid_input) without return types