mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-26 17:24:31 +03:00
Fix test because thumbnail() retains aspect ratio
This commit is contained in:
parent
7a9badf18e
commit
11227e5dc1
|
@ -129,7 +129,7 @@ def test_thumbnail():
|
|||
image2.thumbnail(new_size)
|
||||
|
||||
# Assert
|
||||
assert_equal(image1.size, new_size)
|
||||
assert_equal(image2.size, new_size)
|
||||
assert_equal(max(image1.size), max(new_size))
|
||||
assert_equal(max(image2.size), max(new_size))
|
||||
|
||||
# End of file
|
||||
|
|
Loading…
Reference in New Issue
Block a user