commit - 4c5ec309ca6064e8c942e1e40491448a8c80c96d
commit + d8a882709f0f42d98954b901afeacbbf250a11c5
blob - c3749a8e1d9362b5562f92d93bc7a3de1a00c5f6
blob + 02ff4d0237573674c12b8879dc8cdcb4dc597bde
--- dulwich/tests/test_porcelain.py
+++ dulwich/tests/test_porcelain.py
super(PorcelainGpgTestCase, self).setUp()
self.gpg_dir = os.path.join(self.test_dir, "gpg")
os.mkdir(self.gpg_dir, mode=0o700)
- self.addCleanup(shutil.rmtree, self.gpg_dir)
+ self.addCleanup(shutil.rmtree, self.gpg_dir, ignore_errors=True)
self._old_gnupghome = os.environ.get("GNUPGHOME")
os.environ["GNUPGHOME"] = self.gpg_dir
if self._old_gnupghome is None: