Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
app: add no cover due to false positive
This line is definitely being executed by test_MetadataSyncJob_success_with_missing_key but curiously it wasn't being shown as executed in our coverage report. Investigating, I discovered the following upstream bug: https://bugs.python.org/issue2506 The cpython peephole optimizer is causing this line to report as uncovered (here's a nice blog explaining this optimizer: https://akaptur.com/blog/2014/08/02/the-cpython-peephole-optimizer-and-you/ this helpfully uses an example (see the section under "Complications arise" where code is reported as uncovered due to peephole optimizations))
- Loading branch information