mirror of
https://github.com/django/django.git
synced 2025-10-24 14:16:09 +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:
@@ -329,7 +329,8 @@ class UtilsTests(SimpleTestCase):
|
||||
|
||||
self.assertEqual(label_for_field(lambda x: "nothing", Article), "--")
|
||||
self.assertEqual(label_for_field("site_id", Article), "Site id")
|
||||
# The correct name and attr are returned when `__` is in the field name.
|
||||
# The correct name and attr are returned when `__` is in the field
|
||||
# name.
|
||||
self.assertEqual(label_for_field("site__domain", Article), "Site domain")
|
||||
self.assertEqual(
|
||||
label_for_field("site__domain", Article, return_attr=True),
|
||||
|
||||
Reference in New Issue
Block a user