Is there a way to hide a doctest in the documentation, but still keep it
in the source, so that it will get tested?
Background: The output of a doctest is a dictionary; therefore there is
some uncertainty about the ordering of the entires. To have the
dict-output, but get tested as well, I want to do the following:
sage: dict = {'a': 'b', 'x': 'y'} # random
{'a': 'b', 'x': 'y'}
sage: sorted(dict.iteritems()) # hide doctest
[('a', 'b'), ('x', 'y')]
Best wishes
Daniel
--
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.