Re: [sage-devel] question about classes, TestSuite, doctesting, and coverage

2010-06-14 Thread Nicolas M. Thiery
On Fri, May 21, 2010 at 02:19:37PM -0700, John H Palmieri wrote: > If I'm defining a new class and I want to implement a TestSuite for > it, well, there is some stuff built in, but I should perhaps also add > methods called "_test_X" for various values of X. If I doctest these > via > > sage: o

[sage-devel] question about classes, TestSuite, doctesting, and coverage

2010-05-21 Thread John H Palmieri
If I'm defining a new class and I want to implement a TestSuite for it, well, there is some stuff built in, but I should perhaps also add methods called "_test_X" for various values of X. If I doctest these via sage: object._test_X() then the same doctest will get run twice: once here, and onc