(self)
| 138 | ) |
| 139 | |
| 140 | def test_max_pk(self): |
| 141 | msg = "Max expression does not support composite primary keys." |
| 142 | with self.assertRaisesMessage(ValueError, msg): |
| 143 | Comment.objects.aggregate(Max("pk")) |
| 144 | |
| 145 | def test_first_from_unordered_queryset_aggregation_pk_selected(self): |
| 146 | self.assertEqual( |
nothing calls this directly
no test coverage detected