MCPcopy Create free account
hub / github.com/pybind/pybind11 / test_sparse_signature

Function test_sparse_signature

tests/test_eigen_matrix.py:763–776  ·  view source on GitHub ↗
(doc)

Source from the content-addressed store, hash-verified

761
762
763def test_sparse_signature(doc):
764 pytest.importorskip("scipy")
765 assert (
766 doc(m.sparse_copy_r)
767 == """
768 sparse_copy_r(arg0: scipy.sparse.csr_matrix[numpy.float32]) -> scipy.sparse.csr_matrix[numpy.float32]
769 """
770 )
771 assert (
772 doc(m.sparse_copy_c)
773 == """
774 sparse_copy_c(arg0: scipy.sparse.csc_matrix[numpy.float32]) -> scipy.sparse.csc_matrix[numpy.float32]
775 """
776 )
777
778
779def test_issue738():

Callers

nothing calls this directly

Calls 1

docFunction · 0.70

Tested by

no test coverage detected