code: def test_info_categorical():
      # GH14298
      idx = CategoricalIndex(["a", "b"])
      df = DataFrame(np.zeros((2, 2)), index=idx, columns=idx)
  
      buf = StringIO()
      df.info(buf=buf)
  
imports: from io import StringIO
  import re
  from string import ascii_uppercase
  import sys
  import textwrap
  import numpy
  import pytest
  from pandas.compat import IS64, PYPY
  from pandas import CategoricalIndex, DataFrame, MultiIndex, Series, date_range, option_context
  import pandas._testing
label_desc: Use image node_id 20 for calling a global function with example usage: test_info_categorical() without return types