code: def test_view_pygraphviz_no_added_attrs_to_input(self):
      G = nx.complete_graph(2)
      path, A = nx.nx_agraph.view_pygraphviz(G, show=False)
      assert G.graph == {}
  
imports: import warnings
  import pytest
  import networkx
  from networkx.utils import edges_equal, graphs_equal, nodes_equal
label_desc: Use image node_id 16 for calling the TestAGraph obj's underlying member method code with example usage: obj.test_view_pygraphviz_no_added_attrs_to_input() without return types