(doc)
| 761 | |
| 762 | |
| 763 | def 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 | |
| 779 | def test_issue738(): |