[Python-Dev] Cleaning-up the new unittest API

R. David Murray rdmurray at bitdance.com
Sat Oct 30 18:02:27 CEST 2010


On Sat, 30 Oct 2010 14:51:28 +0200, Antoine Pitrou <solipsis at pitrou.net> wrote:
> On Fri, 29 Oct 2010 20:14:27 -0700
> Raymond Hettinger <raymond.hettinger at gmail.com> wrote:
> > 
> > I would like to simplify and clean-up the API for the unittest module
> > by de-documenting assertSetEqual(), assertDictEqual(),
> > assertListEqual, and assertTupleEqual().
> 
> +1 from me.

I don't disagree with this simplification, but given that you all want
to pare down the unittest API, I'd be interested in your opinions on
issue 10164.  Because the assertBytesEqual method takes an optional
argument, it seems like it would need to be documented, even though
it would in a lot of cases just be used through assertEqual.

--
R. David Murray                                      www.bitdance.com


More information about the Python-Dev mailing list