mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-25 01:16:16 +03:00
Removing all transparency from the test image
This commit is contained in:
parent
0507192a77
commit
219182beda
Binary file not shown.
Before Width: | Height: | Size: 9.3 KiB After Width: | Height: | Size: 7.9 KiB |
|
@ -74,8 +74,7 @@ class TestFileBmp(PillowTestCase):
|
|||
# test for #1293, Imagegrab returning Unsupported Bitfields Format
|
||||
im = BmpImagePlugin.DibImageFile('Tests/images/clipboard.dib')
|
||||
target = Image.open('Tests/images/clipboard_target.png')
|
||||
# test only the RGB components, as there is no alpha in the DIB file.
|
||||
self.assert_image_equal(im.convert('RGB'), target.convert('RGB'))
|
||||
self.assert_image_equal(im, target)
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user