code: def test_table_styles_dict_non_unique_index(styler):
      styles = styler.set_table_styles(
          {"j": [{"selector": "td", "props": "a: v;"}]}, axis=1
      ).table_styles
      assert styles == [
          {"selector": "td.row1", "props": [("a", "v")]},
          {"selector": "td.row2", "props": [("a", "v")]},
      ]
  
file_path: pandas/pandas/tests/io/formats/style/test_non_unique.py
imports: from textwrap import dedent
  import pytest
  from pandas import DataFrame, IndexSlice
  from pandas.io.formats.style import Styler
label_desc: Use image node_id 5 for calling a global function with example usage: test_table_styles_dict_non_unique_index(styler) without return types