From: Noel O'B. <bao...@gm...> - 2007-02-19 15:44:56
|
I was hoping to be able to set the docstrings 'on-the-fly' but it doesn't seem to be possible. Instead I've used code based on your original testMP plus some extra GenericMP2/3/4/5 classes to do the same thing. On 19/02/07, Noel O'Boyle <bao...@gm...> wrote: > Yes, I understand. I'll look into this... > > On 18/02/07, Karol Langner <kar...@kn...> wrote: > > Hi, > > > > The reason I overloaded the test methods of GenericMPTest is to make the > > docstrings different for MP2-5, which are printed out when runngin the tests. > > Now they are back to being the same again, as so: > > > > **** Testing Gaussian **** > > Are Moller-Plesset corrections negative? ... ok > > Are the dimensions of mpenergies correct? ... ok > > > > ---------------------------------------------------------------------- > > Ran 2 tests in 0.001s > > > > OK > > > > **** Testing Gaussian **** > > Are Moller-Plesset corrections negative? ... ok > > Are the dimensions of mpenergies correct? ... ok > > > > so you don't see which MPx is failing in case of error. > > > > Is there an alternate way to print out something unique for various instances > > of GenericMPTest. > > > > Cheers, > > Karol > > > > -- > > written by Karol Langner > > Sun Feb 18 15:44:35 CET 2007 > > > > ------------------------------------------------------------------------- > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the chance to share your > > opinions on IT & business topics through brief surveys-and earn cash > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > _______________________________________________ > > cclib-devel mailing list > > ccl...@li... > > https://lists.sourceforge.net/lists/listinfo/cclib-devel > > > |