Message268757
There are two related things here.
Firstly, the generator's body will run without the patch (because the wrapping function has
try:
return decorated(..)
finally:
unpwatch()
Secondly, the wrapping function is itself not a generator, and anything that introspects functions to see if they are generators will not detect the wrapped function as one - which is I suspect whats tripping nose up, but I haven't actually checked the nose code to see what its doing/expecting. |
|
Date |
User |
Action |
Args |
2016-06-18 03:58:59 | rbcollins | set | recipients:
+ rbcollins, terry.reedy, michael.foord, shoshber |
2016-06-18 03:58:59 | rbcollins | set | messageid: <1466222339.6.0.915752159957.issue27341@psf.upfronthosting.co.za> |
2016-06-18 03:58:59 | rbcollins | link | issue27341 messages |
2016-06-18 03:58:58 | rbcollins | create | |
|