Message157045
| 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:04 | r.david.murray | set | recipients:
+ r.david.murray, eric.araujo, michael.foord, anacrolix |
| 2012年03月29日 13:41:04 | r.david.murray | set | messageid: <1333028464.53.0.719908769678.issue14408@psf.upfronthosting.co.za> |
| 2012年03月29日 13:41:03 | r.david.murray | link | issue14408 messages |
| 2012年03月29日 13:41:03 | r.david.murray | create |
|