[issue2249] To document "assertTrue" in unittest

Steve Purcell report at bugs.python.org
Sat Mar 8 10:54:26 CET 2008


Steve Purcell added the comment:

I could be convinced either way here, and Georg & Raymond always have 
excellent judgement.

My personal inclination would probably be to add the documentation for 
assertTrue() and also assertFalse(), since their naming is symmetrical 
with that of assertEqual() etc.  I think plenty of people are using 
those functions anyway, judging by emails I receive, and I'm not sure 
that leaving the function undocumented addresses the issue of the 
(admittedly) sprawling API.

(I think Fred Drake put together the documentation originally; I don't 
recall any particular discussion about which aliases to document and 
which to leave out.)

-Steve

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2249>
__________________________________


More information about the Python-bugs-list mailing list