]> granicus.if.org Git - graphviz/commit
use shutil.rmtree in preference to pathlib unlink
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 24 Oct 2020 19:15:10 +0000 (12:15 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 31 Oct 2020 02:15:43 +0000 (19:15 -0700)
commit0a6da0e625854e89db3ec173b97e70d1d22efd21
tree220faebb702cea01266d951d219cc54e61b0c66e
parent218385b77f1ff765ad4801d3474b5506934f4a67
use shutil.rmtree in preference to pathlib unlink

The missing_ok argument was only added to pathlib.Path.unlink in Python 3.8.
This made the cleanup function fail (sometimes silently) on versions of Python
prior to 3.8.
rtest/rtest.py