code: def test_view_pygraphviz_leaves_input_graph_unmodified(self):
      G = nx.complete_graph(2)
      # Add entries to graph dict that to_agraph handles specially
      G.graph["node"] = {"width": "0.80"}
      G.graph["edge"] = {"fontsize": "14"}
      path, A = nx.nx_agraph.view_pygraphviz(G, show=False)
      assert G.graph == {
          "node": {"width": "0.80"},
          "edge": {"fontsize": "14"},
      }
  
imports: import warnings
  import pytest
  import networkx
  from networkx.utils import edges_equal, graphs_equal, nodes_equal
label_desc: Use image node_id 17 for calling the TestAGraph obj's underlying member method code with example usage: obj.test_view_pygraphviz_leaves_input_graph_unmodified() without return types