[Python-Dev] Re: Unittest list

Guido van Rossum guido@python.org
Thu, 11 Apr 2002 08:45:07 -0400

> I'd guess that a lot of untested functions here are the slot wrappers,
> which are macro generated and all boilerplate, except for a couple.
> I'd be interested in seeing the list to see if my intuition is right
> though; if wrong, it's time to add some tests.  And it probably
> wouldn't hurt to add tests for the boilerplate stuff anyway, just to
> be extra careful about understanding expectations and protecting
> against regression failures.

Same for typeobject.c, which has two (!) different wrappers for most
slots.  After 2.2 came out (and also during beta testing) several bugs
in these were discovered one at a time -- I clearly don't test them

--Guido van Rossum (home page: http://www.python.org/~guido/)