[Python-Dev] PEP: Consolidating names and classes in the `unittest` module (updated 2008-07-15)

Jeroen Ruigrok van der Werven asmodai at in-nomine.org
Tue Jul 15 12:54:25 CEST 2008


-On [20080715 12:35], Ben Finney (bignose+hates-spam at benfinney.id.au) wrote:
>That measured only usage of unittest *within the Python standard
>library*. Is that the only body of unittest-using code we need
>consider?

Some greps on random Python projects give me a 4-10:1 ratio for assert*
versus fail*.

Personally I also find the assert* syntax preferable over fail*.

-- 
Jeroen Ruigrok van der Werven <asmodai(-at-)in-nomine.org> / asmodai
イェルーン ラウフロック ヴァン デル ウェルヴェン
http://www.in-nomine.org/ | http://www.rangaku.org/ | GPG: 2EAC625B
If I am telling you the Truth now, do you believe it..?


More information about the Python-Dev mailing list