@attr('numpy')
    def test_biadjacency_matrix_order(self):
        try:
            import numpy
        except __HOLE__:
            raise SkipTest('numpy not available.')
        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_equal(M[1,2], 2)
dataset/ETHPy150Open gkno/gkno_launcher/src/networkx/algorithms/bipartite/tests/test_basic.py/TestBipartiteBasic.test_biadjacency_matrix_order