mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Refs #36500 -- Rewrapped long docstrings and block comments via a script.
Rewrapped long docstrings and block comments to 79 characters + newline using script from https://github.com/medmunds/autofix-w505.
This commit is contained in:
@@ -51,8 +51,8 @@ class GetFieldsTests(OptionsBaseTests):
|
||||
def test_get_fields_is_immutable(self):
|
||||
msg = IMMUTABLE_WARNING % "get_fields()"
|
||||
for _ in range(2):
|
||||
# Running unit test twice to ensure both non-cached and cached result
|
||||
# are immutable.
|
||||
# Running unit test twice to ensure both non-cached and cached
|
||||
# result are immutable.
|
||||
fields = Person._meta.get_fields()
|
||||
with self.assertRaisesMessage(AttributeError, msg):
|
||||
fields += ["errors"]
|
||||
|
||||
Reference in New Issue
Block a user