diff --git a/tests/test_regressions.py b/tests/test_regressions.py index 456f715e..94440c6e 100644 --- a/tests/test_regressions.py +++ b/tests/test_regressions.py @@ -3015,7 +3015,7 @@ def test_slug_related_field_to_model_property(no_warnings): class M10(models.Model): @property def property_field(self) -> float: - return 42 + return 42 # pragma: no cover class M11(models.Model): field = models.ForeignKey(M10, on_delete=models.CASCADE) @@ -3194,7 +3194,7 @@ class X1ViewSet(viewsets.ReadOnlyModelViewSet): @extend_schema(responses=forced_singular_serializer(SimpleSerializer)) def list(self): - pass + pass # pragma: no cover class X2ViewSet(viewsets.ReadOnlyModelViewSet): serializer_class = SimpleSerializer