On Tue, Nov 18, 2008 at 8:05 AM, Simon King <[EMAIL PROTECTED]> wrote: > > Sorry for the noise. > > On Nov 18, 4:16 pm, Simon King <[EMAIL PROTECTED]> wrote: >> Now, I have a very long doc string for an extension class and just >> observe that the examples from that doc string are not tested. > > The doc string contains the words "package", "requires" and > "installed". So, I had to do
I'm ok with getting rid of that behavior, where docstrings that contain all those words are automatically considered optional. It seemed like a good idea when I made it up in 2005, but as it turns out people are fine with putting #optional's in front of all optional doctests, and I think having the #optional's on the doctests is also just better from a user perspective. And no, Michael, this isn't a bug. It's a feature that I implemented long ago. > sage -t -optional > and then it worked. > > Cheers > Simon > > > > -- William Stein Associate Professor of Mathematics University of Washington http://wstein.org --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---
