Ondrej Certik wrote: > Hi, > > from now on a patch in order to pass a review, it must have at least > one example doctest for each function/method (except those beginning > with _). > To test it, use the bin/coverage_doctest.py script, like this: > > $ bin/coverage_doctest.py sympy/integrals/integrals.py > ---------------------------------------------------------------------- > sympy/integrals/integrals.py > > Missing documentation: > * function(self) > * limits(self) > * variables(self) > * doit(self, **hints) > > > Missing doctests: > * transform(self, x, mapping, inverse=False) > > SCORE sympy/integrals/integrals.py: 37% (3 of 8) > ---------------------------------------------------------------------- > > > Our goal is for every file in sympy to have 100%. > > For rationale, see: > > http://groups.google.com/group/sympy/browse_thread/thread/45aa9de214ed6f76/ > > as written there, this is not for testing a functionality, but to show > the user how to use the function on an example and to use sphinx's > autodoc to document it. > > Ondrej > > > > > Is there anyway to use "Example:" with a non-interactive dialog. That is a small python program that would print out results at the end.
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sympy" 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?hl=en -~----------~----~----~----~------~----~------~--~---
