code: def test_interval_dtype_with_categorical(dtype):
      obj = Index([], dtype=dtype)
  
      cat = Categorical([], categories=obj)
  
      result = find_common_type([dtype, cat.dtype])
      assert result == dtype
  
file_path: pandas/pandas/tests/dtypes/cast/test_find_common_type.py
imports: import numpy
  import pytest
  from pandas.core.dtypes.cast import find_common_type
  from pandas.core.dtypes.common import pandas_dtype
  from pandas.core.dtypes.dtypes import CategoricalDtype, DatetimeTZDtype, IntervalDtype, PeriodDtype
  from pandas import Categorical, Index
label_desc: Use image node_id 9 for calling a global function with example usage: test_interval_dtype_with_categorical(dtype) without return types