docstr: Tests that a symmetric array has edges added only once to an
  undirected multigraph when using :func:`networkx.from_numpy_array`.
code: def test_symmetric(self):
      """Tests that a symmetric array has edges added only once to an
      undirected multigraph when using :func:`networkx.from_numpy_array`.
  
      """
      A = np.array([[0, 1], [1, 0]])
      G = nx.from_numpy_array(A, create_using=nx.MultiGraph)
      expected = nx.MultiGraph()
      expected.add_edge(0, 1, weight=1)
      assert graphs_equal(G, expected)
  
imports: import pytest
  import networkx
  from networkx.generators.classic import barbell_graph, cycle_graph, path_graph
  from networkx.utils import graphs_equal
label_desc: Use image node_id 18 for calling the TestConvertNumpyArray obj's underlying member method code with example usage: obj.test_symmetric() without return types