Improve coversage measurements: exclude _version.py; add 'pragma: no cover' to yields after returns.