code: def test_subgraph_graph_notsole(cls):
      with pytest.raises(ValueError, match=r"sole"):
          cls().subgraph(cls(), name="spam")
  
file_path: graphviz/tests/test_graphs.py
imports: import itertools
  import pytest
  import graphviz
label_desc: Use image node_id 13 for calling a global function with example usage: test_subgraph_graph_notsole(cls) without return types