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 r.david.murray
Recipients anacrolix, eric.araujo, michael.foord, r.david.murray
Date 2012-03-29.13:41:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1333028464.53.0.719908769678.issue14408@psf.upfronthosting.co.za>
In-reply-to
Content
The convention in the stdlib is to name the mixin classes TestXXXBase.  Granted, a lot of those inherit from TestCase.  I have no objection to calling them Mixin instead, I'm just pointing out that there is an existing convention.

(As an aside, when I first ran into the Base pattern it was in a file where the Base did subclass TestCase, and it took me forever to figure out that the Base test wasn't actually getting run.  So a decorator is definitely superior to listing the test cases that actually run elsewhere in the file!)
History
Date User Action Args
2012-03-29 13:41:04r.david.murraysetrecipients: + r.david.murray, eric.araujo, michael.foord, anacrolix
2012-03-29 13:41:04r.david.murraysetmessageid: <1333028464.53.0.719908769678.issue14408@psf.upfronthosting.co.za>
2012-03-29 13:41:03r.david.murraylinkissue14408 messages
2012-03-29 13:41:03r.david.murraycreate