From 5fef4428ebaa2f2fb9219c6fe1783ecd4cb3a70f Mon Sep 17 00:00:00 2001 From: Dylan Verheul Date: Thu, 29 Jun 2023 10:27:29 +0200 Subject: [PATCH] Reformat --- src/django_marina/test/runners.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/django_marina/test/runners.py b/src/django_marina/test/runners.py index 23171d9..fd34367 100644 --- a/src/django_marina/test/runners.py +++ b/src/django_marina/test/runners.py @@ -5,7 +5,7 @@ from django.test.runner import DiscoverRunner -class TempMediaMixin(object): +class TempMediaMixin: """ Mixin to create MEDIA_ROOT in temporary directory and tear down when complete. @@ -23,7 +23,7 @@ def setup_test_environment(self): def teardown_test_environment(self): """Delete temp storage.""" - super(TempMediaMixin, self).teardown_test_environment() + super().teardown_test_environment() shutil.rmtree(self._temp_media, ignore_errors=True) settings.MEDIA_ROOT = settings._original_media_root del settings._original_media_root