We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1d1ff5c commit a75ac3fCopy full SHA for a75ac3f
1 file changed
tests/queryset/test_queryset.py
@@ -2625,9 +2625,6 @@ def test_last(self):
2625
with pytest.raises(OperationError):
2626
self.Person.objects.last()
2627
2628
- self.Person(name="User D", age=30).save()
2629
- assert self.Person.objects.order_by("-age").last() == person3
2630
-
2631
def test_order_by_optional(self):
2632
class BlogPost(Document):
2633
title = StringField()
0 commit comments