Re: [sage-devel] Re: coverage question

2010-06-24 Thread John Cremona
On 24 June 2010 09:33, John H Palmieri wrote: > On Jun 23, 11:41 pm, John Cremona wrote: >> Doesn't adding >> # not tested >> work? > > Yes, but I suppose this is cheating, too.  On the one hand, this > particular code is completely trivial (and it calls the method > "_open", which is doctested),

[sage-devel] Re: coverage question

2010-06-24 Thread John H Palmieri
On Jun 23, 11:41 pm, John Cremona wrote: > Doesn't adding > # not tested > work? Yes, but I suppose this is cheating, too. On the one hand, this particular code is completely trivial (and it calls the method "_open", which is doctested), so not testing it but pretending that we do is not so bad.

[sage-devel] Re: coverage question

2010-06-23 Thread Kwankyu Lee
How about sage: tutorial() # optional with no return value? It would be better if the tag optional can be removed as the doctest mechanism prevent a web browser from opening. Your cheating is a bad idea. Kwankyu -- To post to this group, send an email to sage-devel@googlegroups.com To unsubs