code: def test_non_multigraph_input_raise(self, dod):
      # cases where NetworkXError is raised
      pytest.raises(
          nx.NetworkXError, self.Graph, dod, multigraph_input=True
      )
      pytest.raises(
          nx.NetworkXError,
          nx.to_networkx_graph,
          dod,
          create_using=self.Graph,
          multigraph_input=True,
      )
  
imports: from collections import UserDict
  import pytest
  import networkx
  from networkx.utils import edges_equal
  from .test_graph import BaseAttrGraphTester
  from .test_graph import TestGraph
label_desc: Use image node_id 6 for calling the TestMultiGraph obj's underlying member method code with example usage: obj.test_non_multigraph_input_raise(dod) without return types