[sage-support] Re: doctests and the long flag

2009-07-25 Thread Robert Bradshaw
On Jul 25, 2009, at 9:38 AM, William Stein wrote: > > On Fri, Jul 24, 2009 at 2:19 PM, Robert > Bradshaw wrote: >> >> On Jul 24, 2009, at 11:22 AM, Simon King wrote: >> >>> >>> I think it would be nice to have the possibility to do the >>> following >>> in doc tests: >>> >>> """ >>> EXAMPLES:

[sage-support] Re: doctests and the long flag

2009-07-25 Thread William Stein
On Fri, Jul 24, 2009 at 2:19 PM, Robert Bradshaw wrote: > > On Jul 24, 2009, at 11:22 AM, Simon King wrote: > >> >> I think  it would be nice to have the possibility to do the following >> in doc tests: >> >> """ >> EXAMPLES:: >> >>     sage: R. = QQ[] >>     # >>     sage: I = ... # some nasty id

[sage-support] Re: doctests and the long flag

2009-07-25 Thread Robert Bradshaw
On Jul 24, 2009, at 11:22 AM, Simon King wrote: > > I think it would be nice to have the possibility to do the following > in doc tests: > > """ > EXAMPLES:: > > sage: R. = QQ[] > # > sage: I = ... # some nasty ideal > sage: G = I.groebner_basis() > #> > sage: GM = I.groe

[sage-support] Re: doctests and the long flag

2009-07-24 Thread William Stein
On Fri, Jul 24, 2009 at 11:22 AM, Simon King wrote: > > Hi All! > > On 24 Jul., 16:55, Ethan Van Andel wrote: > ... >> 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 t

[sage-support] Re: doctests and the long flag

2009-07-24 Thread Simon King
Hi All! On 24 Jul., 16:55, Ethan Van Andel wrote: ... > 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? I understand this question as follows: If one places the c

[sage-support] Re: doctests and the long flag

2009-07-24 Thread Ethan Van Andel
Excellent, thanks --~--~-~--~~~---~--~~ 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] Re: doctests and the long flag

2009-07-24 Thread William Stein
On Fri, Jul 24, 2009 at 7:55 AM, Ethan Van Andel 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-support] Re: doctests and the long flag

2009-07-24 Thread Ethan Van Andel
Thanks, I know that when I run the doctests it can work that way, but should I be concerned about it failing later? Are all sage packages doctested before a release? Will my stuff fail then? --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@go

[sage-support] Re: doctests and the long flag

2009-07-24 Thread Minh Nguyen
Hi Ethan, On Sat, Jul 25, 2009 at 12:55 AM, Ethan Van Andel 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