> > That gives rise to the next question: How can I modify the doctests such > that they pass regardless whether the optional package is installed or > not? I.e., can I make the expected result depend on an optional package? >
Hmmm.. We have the same problem for LP solvers, and no good solution. We have a way to 'force' the choice of the implementation manually, and we use it to: - Check that the normal doctests pass when the standard algorithm is used - Check that [the doctests relying on the optional package] pass when the optional algorithm is forced Or even better: Can I make the documentation of a Python module > such as sage.matrix.matrix_space depend on an optional package? No idea :-/ Nathann -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.