summaryrefslogtreecommitdiff
path: root/tests/files/tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/files/tests.py')
-rw-r--r--tests/files/tests.py8
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")