[TIP] Nose bug? using inspect.ismethod too aggressive?

Robert Collins robertc at robertcollins.net
Sun Sep 20 23:13:07 PDT 2009

On Sun, 2009-09-20 at 22:50 -0700, Fernando Perez wrote:

> In fact, I think your approach does have some of what I'm worried
> about, if I understood you correctly and I didn't screw up.  I fixed
> up your code to actually run with 3.1 (note, I had to patch up
> unittest.py quickly to prevent it from crashing with a None in the
> test function which results below):

I see the issue; I'll cogitate a bit. Broadly I think the adapter
approach is still a go, but adapter would have to adapt the generator,
advance it once, and turn StopIteration into a TestSkipped, or something
like it.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://lists.idyll.org/pipermail/testing-in-python/attachments/20090921/9bafa1e0/attachment.pgp 

More information about the testing-in-python mailing list