diff options
author | Michał Górny <mgorny@gentoo.org> | 2021-10-12 08:03:14 +0200 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2021-10-12 05:57:35 -0400 |
commit | ce0e38e131e987c1bba1dd51abb2d4a002ac3c4e (patch) | |
tree | 84cf23552169281caf6b2584998c6be4296acc1e /coverage/xmlreport.py | |
parent | 73ca4596fc8eed9c76714e7a5c80dd61d71fe1b1 (diff) | |
download | python-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/xmlreport.py')
0 files changed, 0 insertions, 0 deletions