Closed icemac closed 5 years ago
Instead of using #pragma: no cover to omit a branch from Python 2 coverage analysis we could use https://pypi.org/project/coverage-python-version/
#pragma: no cover
See https://github.com/zopefoundation/zope.sendmail/commit/65c3b4d2036301bd9a27a71afbf68db9da23d2e1 and https://github.com/zopefoundation/zope.sendmail/commit/0619e9dc78ffec2d9f6c6e32d86dd42eab577862 as example usages.
Instead of using
#pragma: no cover
to omit a branch from Python 2 coverage analysis we could use https://pypi.org/project/coverage-python-version/See https://github.com/zopefoundation/zope.sendmail/commit/65c3b4d2036301bd9a27a71afbf68db9da23d2e1 and https://github.com/zopefoundation/zope.sendmail/commit/0619e9dc78ffec2d9f6c6e32d86dd42eab577862 as example usages.