set and frozenset unit tests?

Jacob Page apoco at cox.net
Wed Jul 13 00:42:42 EDT 2005


Reinhold Birkenfeld wrote:
> Jacob Page wrote:
> 
>>I'd like to 
>>run my code through actual set and frozenset unit tests.  Does any such 
>>code exist?  Is it in pure Python?  If so, where can it be obtained?
> 
> Look at /usr/lib/python2.x/test/ (on unix platforms).

Thanks for pointing that to me.  For some reason, the Debian package for 
python 2.4 doesn't include those tests, but I acquired them from an 
alternative source.

Oye, there's quite a number of set and frozenset features that aren't 
well-documented that I now need to implement.  What a fun chore!



More information about the Python-list mailing list