News

Bug in `Coverage` output

Written on 06.12.2023 19:25 by Andreas Zeller

Dear all,

In the coding demo this morning, I was confused by a feature in the Fuzzing Book Coverage class; printing out coverage would put a prefix # before covered lines rather than uncovered ones, as is the standard for coverage tools. This also was used inconsistently in the chapter. Only printing is affected; all other functionality is fine.

I have now changed the code and documentation such that a # always marks uncovered code lines. However, this will only take effect in the next fuzzingbook package (1.2.2). So be aware of the issue when printing out Coverage objects.

Enjoy Python! -- Andreas Zeller

Privacy Policy | Legal Notice
If you encounter technical problems, please contact the administrators.