Message173365
They aren't descriptors? They certainly aren't normal methods:
>>> class foo(object):
... def __str__(self): return "foo"
...
>>> f = foo()
>>> f.__str__ = lambda: "bar"
>>> str(f)
'foo'
I *thought* the mechanism by which they can only be replaced by altering the class *was* descriptors, but I gladly seek better info!
_testMethodName is overloaded though: its both 'what is the test method' and 'part of the description or id of the test', so resetting it would be - at best - risky when only changing the description or id. |
|
Date |
User |
Action |
Args |
2012-10-20 02:18:39 | rbcollins | set | recipients:
+ rbcollins, r.david.murray, michael.foord, chris.jerdonek |
2012-10-20 02:18:39 | rbcollins | set | messageid: <1350699519.13.0.00161154283041.issue16288@psf.upfronthosting.co.za> |
2012-10-20 02:18:39 | rbcollins | link | issue16288 messages |
2012-10-20 02:18:38 | rbcollins | create | |
|