code: def test_multiindex_inference_consistency():
      # check that inference behavior matches the base class
  
      v = date.today()
  
      arr = [v, v]
  
      idx = Index(arr)
      assert idx.dtype == object
  
      mi = MultiIndex.from_arrays([arr])
      lev = mi.levels[0]
      assert lev.dtype == object
  
      mi = MultiIndex.from_product([arr])
      lev = mi.levels[0]
      assert lev.dtype == object
  
      mi = MultiIndex.from_tuples([(x,) for x in arr])
      lev = mi.levels[0]
      assert lev.dtype == object
  
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 47 for calling a global function with example usage: test_multiindex_inference_consistency() without return types