mirror of
https://github.com/django/django.git
synced 2025-10-24 14:16:09 +00:00
Refs #33476 -- Refactored code to strictly match 88 characters line length.
This commit is contained in:
@@ -127,7 +127,10 @@ class InlineFormsetFactoryTest(TestCase):
|
||||
Child has two ForeignKeys to Parent, so if we don't specify which one
|
||||
to use for the inline formset, we should get an exception.
|
||||
"""
|
||||
msg = "'inline_formsets.Child' has more than one ForeignKey to 'inline_formsets.Parent'."
|
||||
msg = (
|
||||
"'inline_formsets.Child' has more than one ForeignKey to "
|
||||
"'inline_formsets.Parent'."
|
||||
)
|
||||
with self.assertRaisesMessage(ValueError, msg):
|
||||
inlineformset_factory(Parent, Child)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user