code: def test_biadjacency_matrix_order(self):
      pytest.importorskip("scipy")
      G = nx.path_graph(5)
      G.add_edge(0, 1, weight=2)
      X = [3, 1]
      Y = [4, 2, 0]
      M = bipartite.biadjacency_matrix(G, X, Y, weight="weight")
      assert M[1, 2] == 2
  
file_path: networkx/networkx/algorithms/bipartite/tests/test_basic.py
imports: import pytest
  import networkx
  from networkx.algorithms import bipartite
label_desc: Use image node_id 15 for calling the TestBipartiteBasic obj's underlying member method code with example usage: obj.test_biadjacency_matrix_order() without return types