summaryrefslogtreecommitdiff
path: root/tests/inline_formsets
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2022-02-04 08:08:27 +0100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2022-02-07 20:37:05 +0100
commit7119f40c9881666b6f9b5cf7df09ee1d21cc8344 (patch)
treefa50869f5614295f462d9bf77fec59365c621609 /tests/inline_formsets
parent9c19aff7c7561e3a82978a272ecdaad40dda5c00 (diff)
Refs #33476 -- Refactored code to strictly match 88 characters line length.
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)