Avoid getting into infinite recursion when clearing off _pending_signal. Better to lose a _pending_signal.
Avoid getting into infinite recursion when clearing off _pending_signal. Better to lose a _pending_signal.

The alternative is to use a signal mask but that is not so portable (we can still add that for linux tho).

Ref #294.

pytest-dev/pytest-cov,schlamar/pytest-cov