mirror of
https://github.com/httpie/cli.git
synced 2025-05-21 22:43:36 +02:00
Ignore test cleanup rmtree errors (Win)
This commit is contained in:
parent
6cb822255d
commit
0af486d1b7
@ -76,7 +76,7 @@ class MockEnvironment(Environment):
|
|||||||
if self._delete_config_dir:
|
if self._delete_config_dir:
|
||||||
assert self._temp_dir in self.config_dir.parents
|
assert self._temp_dir in self.config_dir.parents
|
||||||
from shutil import rmtree
|
from shutil import rmtree
|
||||||
rmtree(self.config_dir)
|
rmtree(self.config_dir, ignore_errors=True)
|
||||||
|
|
||||||
def __del__(self):
|
def __del__(self):
|
||||||
# noinspection PyBroadException
|
# noinspection PyBroadException
|
||||||
|
Loading…
x
Reference in New Issue
Block a user