diff options
| author | Maxime Lorant <maxime.lorant@gmail.com> | 2015-08-31 22:14:35 +0200 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-08-31 17:37:21 -0400 |
| commit | 5153a3bfdcec82324d67ff79862384288cf6afe6 (patch) | |
| tree | a03c5ee4bdf3b5b6529df479fbac123a3065d82a /tests/forms_tests | |
| parent | d4b10a725614322769a419180039771634a06571 (diff) | |
Fixed #25331 -- Removed trailing blank lines in docstrings.
Diffstat (limited to 'tests/forms_tests')
| -rw-r--r-- | tests/forms_tests/tests/test_regressions.py | 1 | ||||
| -rw-r--r-- | tests/forms_tests/tests/test_widgets.py | 6 |
2 files changed, 0 insertions, 7 deletions
diff --git a/tests/forms_tests/tests/test_regressions.py b/tests/forms_tests/tests/test_regressions.py index 960fbc7e47..d2f86e1db9 100644 --- a/tests/forms_tests/tests/test_regressions.py +++ b/tests/forms_tests/tests/test_regressions.py @@ -134,7 +134,6 @@ class FormsRegressionsTestCase(TestCase): """ Re-cleaning an instance that was added via a ModelForm should not raise a pk uniqueness error. - """ class CheeseForm(ModelForm): class Meta: diff --git a/tests/forms_tests/tests/test_widgets.py b/tests/forms_tests/tests/test_widgets.py index f680ff8dff..7c66c4c391 100644 --- a/tests/forms_tests/tests/test_widgets.py +++ b/tests/forms_tests/tests/test_widgets.py @@ -1295,7 +1295,6 @@ class FakeFieldFile(object): """ Quacks like a FieldFile (has a .url and unicode representation), but doesn't require us to care about storages etc. - """ url = 'something' @@ -1308,7 +1307,6 @@ class ClearableFileInputTests(SimpleTestCase): """ A ClearableFileInput with is_required False and rendered with an initial value that is a file renders a clear checkbox. - """ widget = ClearableFileInput() widget.is_required = False @@ -1368,7 +1366,6 @@ class ClearableFileInputTests(SimpleTestCase): """ A ClearableFileInput with is_required=False does not render a clear checkbox. - """ widget = ClearableFileInput() widget.is_required = True @@ -1384,7 +1381,6 @@ class ClearableFileInputTests(SimpleTestCase): """ A ClearableFileInput instantiated with no initial value does not render a clear checkbox. - """ widget = ClearableFileInput() widget.is_required = False @@ -1395,7 +1391,6 @@ class ClearableFileInputTests(SimpleTestCase): """ ClearableFileInput.value_from_datadict returns False if the clear checkbox is checked, if not required. - """ widget = ClearableFileInput() widget.is_required = False @@ -1408,7 +1403,6 @@ class ClearableFileInputTests(SimpleTestCase): """ ClearableFileInput.value_from_datadict never returns False if the field is required. - """ widget = ClearableFileInput() widget.is_required = True |
