code: def test_multiindex_clean_names(multiindex_dataframe):
      """Tests clean_names default args on a multi-index dataframe."""
      df = multiindex_dataframe.clean_names()
  
      levels = [
          ["a", "bell_chart", "decorated_elephant"],
          ["b", "normal_distribution", "r_i_p_rhino"],
      ]
  
      codes = [[0, 1, 2], [0, 1, 2]]
  
      expected_columns = pd.MultiIndex(levels=levels, codes=codes)
      assert set(df.columns) == set(expected_columns)
  
file_path: pyjanitor/tests/functions/test_clean_names.py
imports: import pandas
  import pytest
  from janitor.errors import JanitorError
label_desc: Use image node_id 5 for calling a global function with example usage: test_multiindex_clean_names(multiindex_dataframe) without return types