code: def test_graph_treewidth(self):
      with pytest.raises(
          nx.NetworkXError, match="Input graph is not chordal"
      ):
          nx.chordal_graph_treewidth(self.non_chordal_G)
  
file_path: networkx/networkx/algorithms/tests/test_chordal.py
imports: import pytest
  import networkx
label_desc: Use image node_id 5 for calling the TestMCS obj's underlying member method code with example usage: obj.test_graph_treewidth() without return types