Searching unittest for dictionaries.

Antoon Pardon apardon at forel.vub.ac.be
Wed Sep 28 07:47:13 EDT 2005


Op 2005-09-28, Steve Holden schreef <steve at holdenweb.com>:
> Antoon Pardon wrote:
>> I'm writing a class with a lot of dictionary like behaviour.
>> I was wondering whether a unittest for dictionaries already
>> exists somewhere so that I could use it as a start for
>> a unittest for my class.
>> 
> Strangely enough my 2.4 source distribution appears to contain
>
>    Lib/test/test_dict.py
>
> Perhaps this might serve as a starting point.

Looks very usefull, thanks.

-- 
Antoon Pardon



More information about the Python-list mailing list