mirror of
https://github.com/django/django.git
synced 2025-10-27 15:46:10 +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:
@@ -333,7 +333,8 @@ class FieldDeconstructionTests(SimpleTestCase):
|
||||
def test_foreign_key_swapped(self):
|
||||
with isolate_lru_cache(apps.get_swappable_settings_name):
|
||||
# It doesn't matter that we swapped out user for permission;
|
||||
# there's no validation. We just want to check the setting stuff works.
|
||||
# there's no validation. We just want to check the setting stuff
|
||||
# works.
|
||||
field = models.ForeignKey("auth.Permission", models.CASCADE)
|
||||
name, path, args, kwargs = field.deconstruct()
|
||||
|
||||
@@ -570,7 +571,8 @@ class FieldDeconstructionTests(SimpleTestCase):
|
||||
def test_many_to_many_field_swapped(self):
|
||||
with isolate_lru_cache(apps.get_swappable_settings_name):
|
||||
# It doesn't matter that we swapped out user for permission;
|
||||
# there's no validation. We just want to check the setting stuff works.
|
||||
# there's no validation. We just want to check the setting stuff
|
||||
# works.
|
||||
field = models.ManyToManyField("auth.Permission")
|
||||
name, path, args, kwargs = field.deconstruct()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user