diff --git a/autoslug/tests/models.py b/autoslug/tests/models.py index b0f816f..981adea 100644 --- a/autoslug/tests/models.py +++ b/autoslug/tests/models.py @@ -172,7 +172,7 @@ class AbstractModelWithCustomManager(Model): class Meta: abstract = True - def delete(self, using=None): + def delete(self, **kwargs): self.is_deleted = True self.save() diff --git a/autoslug/utils.py b/autoslug/utils.py index c123642..fc6b33c 100644 --- a/autoslug/utils.py +++ b/autoslug/utils.py @@ -20,7 +20,7 @@ from django.utils.timezone import localtime, is_aware -if TYPE_CHECKING: +if TYPE_CHECKING: # pragma: no cover from collections.abc import Callable, Generator, Sequence from django.db.models import SlugField, Model, Manager from django.db.models.base import Options diff --git a/requirements/devel.txt b/requirements/devel.txt index d7399e5..b13cbb7 100644 --- a/requirements/devel.txt +++ b/requirements/devel.txt @@ -1 +1 @@ -coverage==5.0.3 +coverage==7.3.2