summaryrefslogtreecommitdiff
path: root/coverage/files.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2022-12-23 09:23:55 -0500
committerNed Batchelder <ned@nedbatchelder.com>2022-12-23 10:07:53 -0500
commit35e249ff74cfcbc44889107cfcca785696dc4288 (patch)
tree69488c46c48f25c3830d33160220619bbdd9965f /coverage/files.py
parent152cdc7a2b654b16fb572856d03097580e06e127 (diff)
downloadpython-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