diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2022-12-23 09:23:55 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2022-12-23 10:07:53 -0500 |
commit | 35e249ff74cfcbc44889107cfcca785696dc4288 (patch) | |
tree | 69488c46c48f25c3830d33160220619bbdd9965f /coverage/files.py | |
parent | 152cdc7a2b654b16fb572856d03097580e06e127 (diff) | |
download | python-coveragepy-git-35e249ff74cfcbc44889107cfcca785696dc4288.tar.gz |
fix: certain strange characters caused reporting to fail. #1512
It turns out that str.splitlines() will break text on some characters
that file.readline() does not! Use readline() to read source files the
same way that Python does.
Diffstat (limited to 'coverage/files.py')
0 files changed, 0 insertions, 0 deletions