From 7119f40c9881666b6f9b5cf7df09ee1d21cc8344 Mon Sep 17 00:00:00 2001 From: Mariusz Felisiak Date: Fri, 4 Feb 2022 08:08:27 +0100 Subject: Refs #33476 -- Refactored code to strictly match 88 characters line length. --- tests/inline_formsets/tests.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'tests/inline_formsets') 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) -- cgit v1.3