Failure of encoding detection on Python2 causes hard to debug termination

Issue #331 resolved
Former user created an issue

in the case that someone moves the default coding line down a few lines, on python2 ascii is detected instead of utf-8, therefore coverage fails flat when decoding

i was only able to find the problem by adding a comment in coverages html reporting at the end of the html_file method right before the html = html.decode(encoding) line

Comments (4)

  1. Log in to comment