Fix test because thumbnail() retains aspect ratio

This commit is contained in:
hugovk 2014-05-08 23:01:44 +03:00
parent 7a9badf18e
commit 11227e5dc1

View File

@ -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