Author michael.foord
Recipients Yaroslav.Halchenko, abingham, brian.curtin, eric.araujo, eric.snow, exarkun, ezio.melotti, fperez, michael.foord, nchauvat, ncoghlan, pitrou, r.david.murray
Date 2011-07-21.10:36:59
SpamBayes Score 0.000270881
Marked as misclassified No
Message-id <1311244620.16.0.723206977387.issue7897@psf.upfronthosting.co.za>
In-reply-to
Content
Well, pyflakes will tell you about name clashes within a TestCase (unless you're shadowing a test on a base class which I guess is rarely the case)...

When we generate the tests we could add the parameter reprs to the docstring. A decorator factor that takes arguments and an optional name builder seem like a reasonable api to me.

Actually, name clashes *aren't* a problem - as we're generating TestCase instances these generated tests won't shadow existing tests (you'll just have two tests with the same name - does this mean id() may not be unique - worth checking).
History
Date User Action Args
2011-07-21 10:37:00michael.foordsetrecipients: + michael.foord, exarkun, ncoghlan, pitrou, ezio.melotti, eric.araujo, r.david.murray, brian.curtin, fperez, Yaroslav.Halchenko, nchauvat, abingham, eric.snow
2011-07-21 10:37:00michael.foordsetmessageid: <1311244620.16.0.723206977387.issue7897@psf.upfronthosting.co.za>
2011-07-21 10:36:59michael.foordlinkissue7897 messages
2011-07-21 10:36:59michael.foordcreate