code: def test_css_convert_apply_index(styler, axis):
      styler.map_index(lambda x: "font-weight: bold;", axis=axis)
      for label in getattr(styler, axis):
          assert f"\\bfseries {label}" in styler.to_latex(
              convert_css=True
          )
  
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 44 for calling a global function with example usage: test_css_convert_apply_index(styler, axis) without return types