(self)
| 1493 | self.assertSequenceEqual(Valid.objects.all(), []) |
| 1494 | |
| 1495 | def test_datetimes_invalid_field(self): |
| 1496 | # An error should be raised when QuerySet.datetimes() is passed the |
| 1497 | # wrong type of field. |
| 1498 | msg = "'name' isn't a DateField, TimeField, or DateTimeField." |
| 1499 | with self.assertRaisesMessage(TypeError, msg): |
| 1500 | Item.objects.datetimes("name", "month") |
| 1501 | |
| 1502 | def test_ticket22023(self): |
| 1503 | with self.assertRaisesMessage( |
nothing calls this directly
no test coverage detected