def disable(self):
        shutil.rmtree(settings.MEDIA_ROOT)
        super(temporary_media_root, self).disable()
Remove directory settings.MEDIA_ROOT then restore original
dataset/ETHPy150Open benoitbryon/django-downloadview/django_downloadview/test.py/temporary_media_root.disable