code: def test_rooted_product_raises():
      with pytest.raises(nx.NetworkXError):
          nx.rooted_product(nx.Graph(), nx.path_graph(2), 10)
  
imports: import pytest
  import networkx
  from networkx.utils import edges_equal
label_desc: Use image node_id 26 for calling a global function with example usage: test_rooted_product_raises() without return types