mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Refs #33476 -- Refactored code to strictly match 88 characters line length.
This commit is contained in:
@@ -33,7 +33,10 @@ class NullQueriesTests(TestCase):
|
||||
)
|
||||
|
||||
# Valid query, but fails because foo isn't a keyword
|
||||
msg = "Cannot resolve keyword 'foo' into field. Choices are: choice, id, poll, poll_id"
|
||||
msg = (
|
||||
"Cannot resolve keyword 'foo' into field. Choices are: choice, id, poll, "
|
||||
"poll_id"
|
||||
)
|
||||
with self.assertRaisesMessage(FieldError, msg):
|
||||
Choice.objects.filter(foo__exact=None)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user