|
From: Fuzzyman <fuz...@vo...> - 2006-03-22 10:13:37
|
Nicola Larosa wrote: >> Seeing as I'm going to do a new release of ConfigObj I might as well >> move the tests into a separate file. >> > > Yes, sorry for not having got round to doing it myself, as promised. :-( > > Not a problem, it's an easy job. > >> For the sake of consistency I suppose I have to move *all* the tests. >> > > Not necessarily. > I'm copying *all* the tests into a file called ``configobj_test.py``. I'm leaving a few useful ones in configobj.py as well. >> If there are any that serve as particularly concise examples I might >> leave them in place, but the tests have grown quite unwieldy now. >> > > Indeed, one or two tests could be usefully left in each docstring as usage > examples. > > > There won't be any doctest stuff in configobj.py, so they are now examples only. >> Removing the tests and some of the text will shrink configobj.py by >> quite a way. >> > > Definitely. I've removed some of the text. I've left the ISSUES and CHANGELOG in as it is useful to keep these *in* the file. That way someone who just has configobj.py still has some information about it. I suppose the CHANGELOG doesn't contain that much information, so I wouldn't be averse to moving that into a separate text file if you thought it was better. (About 400 odd lines.) Fuzzyman http://www.voidspace.org.uk/python/index.shtml |