1
0
mirror of https://github.com/django/django.git synced 2025-01-22 00:02:15 +00:00

Corrected docstring quotes in various code.

This commit is contained in:
Mariusz Felisiak 2020-09-22 10:30:53 +02:00 committed by GitHub
parent f7806193e6
commit 75d7af43c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

View File

@ -776,7 +776,7 @@ class CheckboxSelectMultiple(ChoiceWidget):
return False
def id_for_label(self, id_, index=None):
""""
"""
Don't include for="field_0" in <label> because clicking such a label
would toggle the first checkbox.
"""

View File

@ -194,7 +194,7 @@ class DjangoAdminNoSettings(AdminScriptTestCase):
self.assertOutput(err, "No module named '?bad_settings'?", regex=True)
def test_commands_with_invalid_settings(self):
""""
"""
Commands that don't require settings succeed if the settings file
doesn't exist.
"""

View File

@ -266,7 +266,7 @@ class FormsFormsetTestCase(SimpleTestCase):
self.assertEqual([form.cleaned_data for form in formset.forms], [{}, {}, {}])
def test_min_num_displaying_more_than_one_blank_form(self):
""""
"""
More than 1 empty form can also be displayed using formset_factory's
min_num argument. It will (essentially) increment the extra argument.
"""

View File

@ -196,7 +196,7 @@ class CheckboxSelectMultipleTest(WidgetTest):
self.assertIs(widget.value_omitted_from_data({'field': 'value'}, {}, 'field'), False)
def test_label(self):
""""
"""
CheckboxSelectMultiple doesn't contain 'for="field_0"' in the <label>
because clicking that would toggle the first checkbox.
"""