mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-03-03 19:45:56 +03:00
Added test
This commit is contained in:
parent
c3fe5d4313
commit
b6a4d9bc94
|
@ -251,6 +251,13 @@ class TestImagingPaste(PillowTestCase):
|
|||
(126, 63, 255, 63)
|
||||
])
|
||||
|
||||
def test_different_sizes(self):
|
||||
im = Image.new('RGB', (100, 100))
|
||||
im2 = Image.new('RGB', (50, 50))
|
||||
|
||||
im.copy().paste(im2)
|
||||
im.copy().paste(im2, (0,0))
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
|
|
Loading…
Reference in New Issue
Block a user