
March 2, 2012
1:01 a.m.
Le 02/03/2012 07:55, Devin Jeanpierre a écrit :
[...] dicts and sets are not idiosyncratic or in any way exceptional. doctest itself should handle them the way a naive user would expect.
This discussion seems to forget a core issue with doctest: The output lines can be *anything* that gets printed. eval-able reprs of Python objects are only a part of the possibilities. That’s why doctest cannot “just call sorted” on the output lines. Regards