summaryrefslogtreecommitdiff
path: root/coverage/parser.py
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2021-10-12 08:03:14 +0200
committerNed Batchelder <ned@nedbatchelder.com>2021-10-12 05:57:35 -0400
commitce0e38e131e987c1bba1dd51abb2d4a002ac3c4e (patch)
tree84cf23552169281caf6b2584998c6be4296acc1e /coverage/parser.py
parent73ca4596fc8eed9c76714e7a5c80dd61d71fe1b1 (diff)
downloadpython-coveragepy-git-ce0e38e131e987c1bba1dd51abb2d4a002ac3c4e.tar.gz
fix: find_writable_pth_directory must expect failure from open()
Fix find_writable_pth_directory() to expect the OSError from the open() call. In general, this is what's going to happen if the file is not writable. The current logic could only be triggered e.g. if the file was writable but the underlying filesystem run out of space.
Diffstat (limited to 'coverage/parser.py')
0 files changed, 0 insertions, 0 deletions