code: def test_clines_multiindex(clines, expected, env):
      # also tests simultaneously with hidden rows and a hidden multiindex level
      midx = MultiIndex.from_product([["A", "-", "B"], [0], ["X", "Y"]])
      df = DataFrame([[1], [2], [99], [99], [3], [4]], index=midx)
      styler = df.style
      styler.hide([("-", 0, "X"), ("-", 0, "Y")])
      styler.hide(level=1)
      result = styler.to_latex(clines=clines, environment=env)
      assert expected in result
  
imports: from textwrap import dedent
  import numpy
  import pytest
  from pandas import DataFrame, MultiIndex, Series, option_context
  from pandas.io.formats.style import Styler
  from pandas.io.formats.style_render import _parse_latex_cell_styles, _parse_latex_css_conversion, _parse_latex_header_span, _parse_latex_table_styles, _parse_latex_table_wrapping
label_desc: Use image node_id 51 for calling a global function with example usage: test_clines_multiindex(clines, expected, env) without return types