def test_identity_digraph_matrix(self):
        A = nx.to_scipy_sparse_matrix(self.G2)
        self.identity_conversion(self.G2, A, nx.DiGraph())
Conversion from digraph to sparse matrix to digraph.
dataset/ETHPy150Open gkno/gkno_launcher/src/networkx/tests/test_convert_scipy.py/TestConvertNumpy.test_identity_digraph_matrix