'Tests that a symmetric array has edges added only once to an
undirected multigraph when using :func:`networkx.from_numpy_array`.'

def test_symmetric(self):

    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)
