This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients amaury.forgeotdarc, belopolsky, brett.cannon, brian.curtin, daniel.urban, lemburg, pitrou, r.david.murray, techtonik, vstinner
Date 2010-06-17.15:02:33
SpamBayes Score 0.020795207
Marked as misclassified No
Message-id <1276786951.3158.11.camel@localhost.localdomain>
In-reply-to <1276786810.62.0.24661608039.issue7989@psf.upfronthosting.co.za>
Content
> I looked at test_io and don't like that approach.  It seems to require
> subclassing each TestCase twice for C and Python.  There is no
> mechanism to assure that all tests are replicated that way.

Subclassing /is/ the mechanism :)
Furthermore, some rare tests are Py-specific and some rare others are
C-specific: you want specific test classes for them anyway.

The only alternative is to manually duplicate tests, these leads to very
poor test coverage because of the average developer's laziness (json is
an example).
History
Date User Action Args
2010-06-17 15:02:35pitrousetrecipients: + pitrou, lemburg, brett.cannon, amaury.forgeotdarc, belopolsky, vstinner, techtonik, r.david.murray, brian.curtin, daniel.urban
2010-06-17 15:02:33pitroulinkissue7989 messages
2010-06-17 15:02:33pitroucreate