[TIP] Mocking properties on an instance

Michael Foord michael at voidspace.org.uk
Mon Sep 12 02:52:14 PDT 2011


On 05/09/2011 09:11, Chris Wesseling wrote:
> On 2011-09-04T23:29:09+0100, Michael Foord wrote:
>>> (P.S. I really do wish python had a sortedset and frozendict type already but that is a different discussion :/ )
>> Indeed. :-)
>>
>> (There was a proposal to make sets sorted by default. I'm not sure
>> what has happened to that though.)
> By default? Blegh. :-r
>
Why? What would the downside be?

Michael

-- 
http://www.voidspace.org.uk/

May you do good and not evil
May you find forgiveness for yourself and forgive others
May you share freely, never taking more than you give.
-- the sqlite blessing http://www.sqlite.org/different.html




More information about the testing-in-python mailing list