On Fri, Jul 24, 2009 at 7:55 AM, Ethan Van Andel<evlu...@gmail.com> wrote:
>
> My code has doctests that look like this:
>        EXAMPLES:
>        ::
>            sage: m = Riemann_Map([e^(I*t)],[I*e^(I*t)],0) #long time
> (4 sec)
>            sage: points = m.get_theta_points()
>            sage: list_plot(points)
>
>            sage: s = spline(pts)
>            sage: s(3*pi/4)
>
>            sage: m.get_theta_points(boundary = 0)
>
> If I set it up like this, it seems like it won't test the "long time"
> one and then will fail the others because it doesn't know what "m" is.
> Is there proper way to handle this?

Yes. Mark them all as long.    e.g., #long - see above.

And yes, we do test #long doctests regularly.

William

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to