mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed typo in assertQuerysetEqual() exception message.
This commit is contained in:
committed by
Mariusz Felisiak
parent
7587139d35
commit
64a0d1ef6e
@@ -289,7 +289,10 @@ class AssertQuerysetEqualTests(TestCase):
|
||||
def test_undefined_order(self):
|
||||
# Using an unordered queryset with more than one ordered value
|
||||
# is an error.
|
||||
msg = 'Trying to compare non-ordered queryset against more than one ordered values'
|
||||
msg = (
|
||||
'Trying to compare non-ordered queryset against more than one '
|
||||
'ordered value.'
|
||||
)
|
||||
with self.assertRaisesMessage(ValueError, msg):
|
||||
self.assertQuerysetEqual(
|
||||
Person.objects.all(),
|
||||
|
||||
Reference in New Issue
Block a user