From 9c19aff7c7561e3a82978a272ecdaad40dda5c00 Mon Sep 17 00:00:00 2001 From: django-bot Date: Thu, 3 Feb 2022 20:24:19 +0100 Subject: Refs #33476 -- Reformatted code with Black. --- tests/model_utils/tests.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/model_utils') diff --git a/tests/model_utils/tests.py b/tests/model_utils/tests.py index be4dd4300b..4f1db84f3b 100644 --- a/tests/model_utils/tests.py +++ b/tests/model_utils/tests.py @@ -4,7 +4,7 @@ from django.test import SimpleTestCase class NamedTupleClassTests(SimpleTestCase): def test_immutability(self): - row_class = create_namedtuple_class('field1', 'field2') - row = row_class('value1', 'value2') + row_class = create_namedtuple_class("field1", "field2") + row = row_class("value1", "value2") with self.assertRaises(AttributeError): - row.field3 = 'value3' + row.field3 = "value3" -- cgit v1.3