Skip to content

Commit

Permalink
coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
tfranzel committed Aug 30, 2023
1 parent 9c13607 commit c565a38
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_regressions.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit c565a38

Please sign in to comment.