milki/dulwich — comment on commit 2c7b4058dcb2d4513044a768ad04ebd353501428
File: dulwich/tests/test_index.py line 225
By jelmer:

This should call self.addCleanup(shutil.rmtree, target_repo_dir) - otherwise the cleanup won't happen if the test fails.