mirror of
https://github.com/django/django.git
synced 2025-07-19 19:25:26 +00:00
Thanks Josh for the amazing testing setup and Tim for the review.
This commit is contained in:
parent
90468079ec
commit
082c52dbed
11 changed files with 245 additions and 35 deletions
|
@ -1312,7 +1312,7 @@ class Queries3Tests(BaseQuerysetTest):
|
|||
def test_ticket8683(self):
|
||||
# An error should be raised when QuerySet.datetimes() is passed the
|
||||
# wrong type of field.
|
||||
with self.assertRaisesMessage(AssertionError, "'name' isn't a DateField or DateTimeField."):
|
||||
with self.assertRaisesMessage(AssertionError, "'name' isn't a DateField, TimeField, or DateTimeField."):
|
||||
Item.objects.datetimes('name', 'month')
|
||||
|
||||
def test_ticket22023(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue