5.3.8 Doctests

If x.pyx is a Cython file, then you can do
   sage -t x.pyx
to test all the examples in the documentation strings in x.pyx.

See About this document... for information on suggesting changes.