Coverage is broken with gevent

Issue #209 duplicate
Former user created an issue

Coverage is broken with gevent

From what i understood, it seems that a greenlet switch inside a method cause the remaining lines to be not covered (not sure 100%)

It seems that this (just tested locally, after a pip install coverage) is fixing the issue.

May be it can have side effects, but right now, it works ok on our end.

Do you plan to integrate this ?

Thank you

Comments (2)

  1. Ned Batchelder repo owner

    I don't plan to integrate that directly, because it sacrifices a few other features of I'd be very interested in improved patches, though.

  2. Log in to comment