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