
March 2, 2012
3:31 a.m.
On Thu, Mar 1, 2012 at 6:31 PM, Mark Janssen <dreamingforward@gmail.com> wrote:
I just thought of something: isn't the obvious solution is for doctest to test the type of an expression's output and if it's in the set of unordered types {set, dict} to run sort() on it? Then the docstring author can just put the (sorted) output of what's expected....
What if the output is a list of dicts? -- --Guido van Rossum (python.org/~guido)