Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Searching unittest for dictionaries.

0 views
Skip to first unread message

Antoon Pardon

unread,
Sep 28, 2005, 6:56:59 AM9/28/05
to
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.

--
Antoon Pardon

Steve Holden

unread,
Sep 28, 2005, 7:18:36 AM9/28/05
to pytho...@python.org
Strangely enough my 2.4 source distribution appears to contain

Lib/test/test_dict.py

Perhaps this might serve as a starting point.

regards
Steve
--
Steve Holden +44 150 684 7255 +1 800 494 3119
Holden Web LLC www.holdenweb.com
PyCon TX 2006 www.pycon.org

Antoon Pardon

unread,
Sep 28, 2005, 7:47:13 AM9/28/05
to
Op 2005-09-28, Steve Holden schreef <st...@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

0 new messages