Use shutil.rmtree in tests