Binary file not shown.
|
After Width: | Height: | Size: 121 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 81 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 73 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 121 KiB |
@@ -308,8 +308,8 @@ class TestEbookReaderHighlighting(unittest.TestCase):
|
||||
self.assertIsNotNone(result_img)
|
||||
self.assertIsInstance(result_img, PILImage.Image)
|
||||
self.assertEqual(result_img.size, test_img.size)
|
||||
# Result should be RGBA for transparency
|
||||
self.assertEqual(result_img.mode, 'RGBA')
|
||||
# Result should preserve the input mode
|
||||
self.assertEqual(result_img.mode, 'RGB')
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
||||
Reference in New Issue
Block a user