19.03.2012 20:36, Matthew Rocklin пишет: > In pull 1047 <https://github.com/sympy/sympy/pull/1047> we have an issue > where the doctests produce very long results i.e. > > Lambda(_x, ((alpha/_x + 2*beta*log(_x/sigma)/_x)*exp(-alpha*log(_x/sigma) - > beta*log(_x/sigma)**2)) > > These span beyond 80 characters. What is the appropriate response for this? > If we make them span over two lines the doctests fail. If we have them on > one line we're out of style. > > Is this an appropriate place for # doctest: +SKIP ? > Is there another solution? >
May be it will help: doctest: +NORMALIZE_WHITESPACE http://docs.python.org/library/doctest.html#doctest.NORMALIZE_WHITESPACE Alexey. -- 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.
