code: def test_init_with_mismatched_time_types(dates_df):
      dates_df.ww.init(
          name="dates_table",
          index="backwards_order",
          time_index="repeating_dates",
      )
      es = EntitySet("es")
      es.add_dataframe(
          dates_df, secondary_time_index={"special_dates": ["special"]}
      )
      assert es.time_type == Datetime
  
      nums_df = pd.DataFrame({"id": [1, 2, 3], "times": [9, 8, 7]})
      nums_df.ww.init(
          name="numerics_table", index="id", time_index="times"
      )
  
      error = "numerics_table time index is numeric type which differs from other entityset time indexes"
      with pytest.raises(TypeError, match=error):
          es.add_dataframe(nums_df)
  
imports: from datetime import datetime
  import numpy
  import pandas
  import pytest
  from woodwork.exceptions import TypeConversionError
  from woodwork.logical_types import Boolean, Categorical, Datetime, Double, Integer, NaturalLanguage
  from featuretools.entityset.entityset import LTI_COLUMN_NAME, EntitySet
  from featuretools.tests.testing_utils import to_pandas
  from featuretools.utils.gen_utils import Library, import_or_none, is_instance
label_desc: Use image node_id 18 for calling a global function with example usage: test_init_with_mismatched_time_types(dates_df) without return types