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/model_fields | |
| parent | d4b10a725614322769a419180039771634a06571 (diff) | |
Fixed #25331 -- Removed trailing blank lines in docstrings.
Diffstat (limited to 'tests/model_fields')
| -rw-r--r-- | tests/model_fields/tests.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/tests/model_fields/tests.py b/tests/model_fields/tests.py index bc183ba431..16d8b2fe2c 100644 --- a/tests/model_fields/tests.py +++ b/tests/model_fields/tests.py @@ -52,7 +52,6 @@ class BasicFieldTests(test.TestCase): """ Regression test for #13071: NullBooleanField should not throw a validation error when given a value of None. - """ nullboolean = NullBooleanModel(nbfield=None) try: @@ -691,7 +690,6 @@ class TypeCoercionTests(test.TestCase): Test that database lookups can accept the wrong types and convert them with no error: especially on Postgres 8.3+ which does not do automatic casting at the DB level. See #10015. - """ def test_lookup_integer_in_charfield(self): self.assertEqual(Post.objects.filter(title=9).count(), 0) @@ -705,7 +703,6 @@ class FileFieldTests(unittest.TestCase): """ Test that FileField.save_form_data will clear its instance attribute value if passed False. - """ d = Document(myfile='something.txt') self.assertEqual(d.myfile, 'something.txt') @@ -717,7 +714,6 @@ class FileFieldTests(unittest.TestCase): """ Test that FileField.save_form_data considers None to mean "no change" rather than "clear". - """ d = Document(myfile='something.txt') self.assertEqual(d.myfile, 'something.txt') @@ -729,7 +725,6 @@ class FileFieldTests(unittest.TestCase): """ Test that FileField.save_form_data, if passed a truthy value, updates its instance attribute. - """ d = Document(myfile='something.txt') self.assertEqual(d.myfile, 'something.txt') |
