diff options
author | 2021-05-14 15:45:45 +0800 | |
---|---|---|
committer | 2021-05-14 15:45:45 +0800 | |
commit | e5d0c4ecdde1d1af958c981c6da87999bbdabe16 (patch) | |
tree | cde38db4218ee29972b86414d7ee9cf4a8b40f13 /pydis_site/settings.py | |
parent | Merge branch 'main' into dewikification (diff) |
Fix misleading coverage report.
Due to an optimization in CPython that is amended in 3.10, coverage.py
is sometimes unable to determine the coverage of continue statements in
branches. See: https://github.com/nedbat/coveragepy/issues/198
Adding a no-op like a print or an empty statement would solve the
coverage issue, but I've opted to just ignore the line. This should be
tested and the line removed when the site is updated to Python 3.10.
Diffstat (limited to 'pydis_site/settings.py')
0 files changed, 0 insertions, 0 deletions