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

Mike Klaas mike.klaas at gmail.com
Tue Jul 15 21:16:22 CEST 2008


On 15-Jul-08, at 6:05 AM, Andrew Bennetts wrote:

> Ben Finney wrote:
>> "Stephen J. Turnbull" <stephen at xemacs.org> writes:
>>
>> That measured only usage of unittest *within the Python standard
>> library*. Is that the only body of unittest-using code we need
>> consider?
>
> Three more data points then:
>
> bzr: 13228 assert* vs. 770 fail*.
>
> Twisted: 6149 assert* vs. 1666 fail*.
>
> paramiko: 431 assert* vs. 4 fail*.

Our internal code base:

$ ack self.assert. | wc -l
3232
$ ack self.fail. | wc -l
1124

-Mike



More information about the Python-Dev mailing list