1
0
mirror of https://github.com/httpie/cli.git synced 2025-01-10 00:28:12 +02:00

Ignore test cleanup rmtree errors (Win)

This commit is contained in:
Jakub Roztocil 2019-12-02 17:53:29 +01:00
parent 6cb822255d
commit 0af486d1b7

View File

@ -76,7 +76,7 @@ class MockEnvironment(Environment):
if self._delete_config_dir:
assert self._temp_dir in self.config_dir.parents
from shutil import rmtree
rmtree(self.config_dir)
rmtree(self.config_dir, ignore_errors=True)
def __del__(self):
# noinspection PyBroadException