code: def test_from_numpy_array_no_edge_attr(self, dt):
      A = np.array([[0, 1], [1, 0]], dtype=dt)
      G = nx.from_numpy_array(A, edge_attr=None)
      assert "weight" not in G.edges[0, 1]
      assert len(G.edges[0, 1]) == 0
  
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 15 for calling the TestConvertNumpyArray obj's underlying member method code with example usage: obj.test_from_numpy_array_no_edge_attr(dt) without return types