[Python-Dev] PEP: Consolidating names and classes in the `unittest` module (updated 2008-07-15)
Terry Reedy
tjreedy at udel.edu
Wed Jul 16 08:10:54 CEST 2008
Ben Finney wrote:
> "Stephen J. Turnbull" <stephen at xemacs.org> writes:
>
>> Terry Reedy writes:
>>
>> > For the community as a whole, all stdlib modules are suggestions
>> > and examples, not commands.
>>
>> Well, even if "standard" is too strong a word, the DeprecationWarnings
>> and eventual removal of the methods surely constitute an imposition.
>
> I understood Terry's statement as meaning that there is no commandment
> to use the standard library 'unittest' module at all. If a user
> doesn't like the behaviour of a module (such as 'unittest') in the
> standard library, they can accept the burden of implementing one that
> behaves the way they like.
I have written the few specialized test functions that I need my current
project. I did this after considering (and taking ideas from) py.test.
I will also use doctest as a supplement.
I also meant that one who does use something is free to rename it. I
commonly import xskjfl as x;-)
More information about the Python-Dev
mailing list