Is it possible to make a unittest decorator to rename a method from "x" to "testx?"
adam.preble at gmail.com
adam.preble at gmail.com
Fri Aug 9 01:07:54 EDT 2013
On Thursday, August 8, 2013 3:50:47 AM UTC-5, Peter Otten wrote:
> Peter Otten wrote:
> Oops, that's an odd class name. Fixing the name clash in Types.__new__() is
>
> left as an exercise...
Interesting, I got __main__.T, even though I pretty much just tried your code wholesale. For what it's worth, I'm using Python 2.7. I'm glad to see that code since I learned a lot of tricks from it.
More information about the Python-list
mailing list