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 rbcollins
Recipients michael.foord, rbcollins, shoshber, terry.reedy
Date 2016-06-18.03:58:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1466222339.6.0.915752159957.issue27341@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2016-06-18 03:58:59rbcollinssetrecipients: + rbcollins, terry.reedy, michael.foord, shoshber
2016-06-18 03:58:59rbcollinssetmessageid: <1466222339.6.0.915752159957.issue27341@psf.upfronthosting.co.za>
2016-06-18 03:58:59rbcollinslinkissue27341 messages
2016-06-18 03:58:58rbcollinscreate