diff options
author | za <za@python.or.id> | 2016-10-27 14:53:39 +0700 |
---|---|---|
committer | Tim Graham <timograham@gmail.com> | 2016-11-10 21:30:21 -0500 |
commit | 321e94fa41b121f65c02119c02098df327bbd569 (patch) | |
tree | ce5476c191d589aca4b124f841dfbccac8dd299f /tests/files | |
parent | 4bb70cbcc60794f515c9bfefeca87b8272d33c0c (diff) | |
download | django-321e94fa41b121f65c02119c02098df327bbd569.tar.gz |
Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings.
Diffstat (limited to 'tests/files')
-rw-r--r-- | tests/files/tests.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/files/tests.py b/tests/files/tests.py index 4ff3b1f49c..72a121fcfe 100644 --- a/tests/files/tests.py +++ b/tests/files/tests.py @@ -173,14 +173,14 @@ class ContentFileTestCase(unittest.TestCase): def test_content_file_custom_name(self): """ - Test that the constructor of ContentFile accepts 'name' (#16590). + The constructor of ContentFile accepts 'name' (#16590). """ name = "I can have a name too!" self.assertEqual(ContentFile(b"content", name=name).name, name) def test_content_file_input_type(self): """ - Test that ContentFile can accept both bytes and unicode and that the + ContentFile can accept both bytes and unicode and that the retrieved content is of the same type. """ self.assertIsInstance(ContentFile(b"content").read(), bytes) @@ -192,7 +192,7 @@ class ContentFileTestCase(unittest.TestCase): class DimensionClosingBug(unittest.TestCase): """ - Test that get_image_dimensions() properly closes files (#8817) + get_image_dimensions() properly closes files (#8817) """ @unittest.skipUnless(Image, "Pillow not installed") def test_not_closing_of_files(self): @@ -242,7 +242,7 @@ class DimensionClosingBug(unittest.TestCase): class InconsistentGetImageDimensionsBug(unittest.TestCase): """ - Test that get_image_dimensions() works properly after various calls + get_image_dimensions() works properly after various calls using a file handler (#11158) """ @unittest.skipUnless(Image, "Pillow not installed") |