summaryrefslogtreecommitdiff
path: root/tests/inline_formsets
diff options
context:
space:
mode:
Diffstat (limited to 'tests/inline_formsets')
-rw-r--r--tests/inline_formsets/tests.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/inline_formsets/tests.py b/tests/inline_formsets/tests.py
index 758d472a85..1ae9b3f760 100644
--- a/tests/inline_formsets/tests.py
+++ b/tests/inline_formsets/tests.py
@@ -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)