Skip to content

Commit a75ac3f

Browse files
committed
Update tests
1 parent 1d1ff5c commit a75ac3f

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

tests/queryset/test_queryset.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2625,9 +2625,6 @@ def test_last(self):
26252625
with pytest.raises(OperationError):
26262626
self.Person.objects.last()
26272627

2628-
self.Person(name="User D", age=30).save()
2629-
assert self.Person.objects.order_by("-age").last() == person3
2630-
26312628
def test_order_by_optional(self):
26322629
class BlogPost(Document):
26332630
title = StringField()

0 commit comments

Comments
 (0)