Skip to content

Commit

Permalink
test_image.py: replace wrong unicdoe character
Browse files Browse the repository at this point in the history
The character U+0441 "с" was changed to the ASCII character U+0063 "c".
  • Loading branch information
stephanlachnit authored Oct 25, 2023
1 parent 16169e5 commit 308941b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_image.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ def test_heic(self):
self.assertIsInstance(image, HeicImageFile)
self.assertEqual(width, 320)
self.assertEqual(height, 241)
self.assertEqual(image.mime_type, "image/heiс")
self.assertEqual(image.mime_type, "image/heic")

def test_avif(self):
with open("tests/images/tree.avif", "rb") as f:
Expand Down Expand Up @@ -217,7 +217,7 @@ def test_save_as_heic(self):
buf.seek(0)
image = Image.open(buf)
self.assertIsInstance(image, HeicImageFile)
self.assertEqual(image.mime_type, "image/heiс")
self.assertEqual(image.mime_type, "image/heic")

def test_save_as_avif(self):
with open("tests/images/sails.bmp", "rb") as f:
Expand Down

0 comments on commit 308941b

Please sign in to comment.