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 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.00027088114
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