Skip to content

Commit

Permalink
Looks like FakeS3 runs on AppVeyor, just some details to take care off?
Browse files Browse the repository at this point in the history
  • Loading branch information
xolox committed Nov 11, 2015
1 parent 84ee9b6 commit 313da5e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pip_accel/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -838,7 +838,9 @@ def wipe_directory(pathname):
:param pathname: The directory's pathname (a string).
"""
if os.path.isdir(pathname):
shutil.rmtree(pathname)
def log_warning(action, pathname, exc_info):
logger.exception("Failed to remove %s!", pathname, exc_info=exc_info)
shutil.rmtree(pathname, onerror=log_warning)
os.makedirs(pathname)


Expand Down

0 comments on commit 313da5e

Please sign in to comment.