Hi! On 28 Jun., 17:15, Dag Sverre Seljebotn <da...@student.matnat.uio.no> wrote: > I'm not sure what you refer to in the latter paragraph (perhaps it's > something Sage-specific thing I don't know much about)...
I meant the following: Assume you have files foo.pyx or bar.py that provide modules for Sage. In particular, the examples and tests in the doc strings have the prompt "sage:", not ">>>". Then you can do the doc tests, with Sage's preparsing (e.g., 3+3 becomes Integer(3)+Integer(3)) and import of sage.all, by sage -t foo.pyx or sage -t bar.py on the command line. The above used to work, in the past. Nowadays, as much as I understood, "sage -t foo.pyx" will not work if foo.pyx can not be attached to a Sage session. Best regards, Simon --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to sage-devel-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---