[TIP] Test Parameterization with unittest
Michael Foord
fuzzyman at voidspace.org.uk
Sun May 10 17:10:50 PDT 2009
--
http://www.ironpythoninaction.com
On 11 May 2009, at 00:54, Robert Collins <robertc at robertcollins.net>
wrote:
> 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 :)
>
Hmmm... You're right of course - I was actually exploring command line
behaviour of unittest and was getting some odd results. Something to
explore further tomorrow.
Michael
> -Rob
More information about the testing-in-python
mailing list