[TIP] Test Parameterization with unittest

Robert Collins robertc at robertcollins.net
Sun May 10 16:54:13 PDT 2009


On Mon, 2009-05-11 at 00:27 +0100, Michael Foord wrote:

> And because it uses a metaclass it only works when TestCase is a new 
> style class - which unbelievably only became true around Python 2.6 or so!

2.4 I think. Its actually quite an old change - set at the top of the
file :)

-Rob
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://lists.idyll.org/pipermail/testing-in-python/attachments/20090511/401c6219/attachment.pgp 


More information about the testing-in-python mailing list