[Python-Dev] PEP: Consolidating names and classes in the `unittest` module

Antoine Pitrou solipsis at pitrou.net
Tue Jul 15 01:19:09 CEST 2008

Ben Finney <ben+python <at> benfinney.id.au> writes:
> The following attribute names exist only as synonyms for other names.
> They are to be removed, leaving only one name for each attribute in
> the API.

Just for information, here is the current distribution of the two synonym kinds:
(on py3k)

$ grep "self.assert" Lib/test/test_*.py | wc -l
$ grep "self.fail" Lib/test/test_*.py | wc -l

If no rational argument prevails, at least we have data on the past and current
habits of the python-dev community.



More information about the Python-Dev mailing list