On 2011-03-12 09:56, David Kirkby wrote: > I propose that when a doctest is written, there should be a comment in > the code, substantiating why the "Expected" result is correct. That > might take the form of at least all of the following, with hopefully > not too many of #7.
I agree that your idea makes sense but I'm afraid that adding all this stuff will be a lot of effort and also greatly reduce readability of the source code. So if you want to do this, do it in an "out-of-band" way, i.e. not in the doctests themselves. Jeroen. -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org