code: def test_indexing_combinations_edge_cases():
      # Although in theory _indexing_combinations works for any number of
      # dimensions, we're just interested in 2D for subplots so that's what we
      # test here.
      assert _indexing_combinations([], []) == []
      with pytest.raises(ValueError):
          _ = _indexing_combinations([[1, 2], [3, 4, 5]], [[1, 2]])
  
file_path: plotly.py/packages/python/plotly/plotly/tests/test_core/test_update_objects/test_row_col_subplot_addressing.py
imports: import plotly.graph_objs
  from plotly.subplots import make_subplots
  from plotly.basedatatypes import _indexing_combinations
  import pytest
  from itertools import product
label_desc: Use image node_id 5 for calling a global function with example usage: test_indexing_combinations_edge_cases() without return types