[TIP] subclassing TestSuite to override __iter__ is painful

Robert Collins robertc at robertcollins.net
Sat Apr 4 15:03:06 PDT 2009


I've put a patch up here http://bugs.python.org/issue5693. In short, a
TestSuite whose __iter__ does something more complex (such as test
discover) requires you to reimplement nearly everything rather than just
__iter__ and addTest. This makes it a lot simpler.

-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/20090405/2bca26e9/attachment.pgp 


More information about the testing-in-python mailing list