Comment #3 on issue 2679 by [email protected]: Refactor GA* documentation to use doctests
http://code.google.com/p/sympy/issues/detail?id=2679

The 2to3 errors are due to the extra indentation, so 2to3 then doesn't convert the files. This means they won't be Python 3 compatible, but that doesn't really matter too much as they're just examples. The files that don't generate the errors don't have indentation issues.

However, using normal doctests has an additional benefit: the tests will be actually ran. This means that they will be tested which means whatever got in that broke that file wouldn't have happened. As far as I'm concerned, all of them could just be normal doctests in a .txt file (see eg. anything from the polys documentation), they don't really need to be separate files.

--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" group.
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/sympy-issues?hl=en.

Reply via email to