Skip to content

Commit

Permalink
Add test against upscaling
Browse files Browse the repository at this point in the history
  • Loading branch information
orlnub123 authored and radarhere committed Feb 16, 2020
1 parent 5ca5352 commit 16730aa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Tests/test_image_thumbnail.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ def test_aspect():
im.thumbnail((100, 100))
assert im.size == (100, 50)

im = Image.new("L", (256, 128))
im.thumbnail((100, 50))
assert im.size == (100, 50)
im = Image.new("L", (64, 64))
im.thumbnail((100, 100))
assert im.size == (64, 64)

im = Image.new("L", (128, 128))
im.thumbnail((100, 100))
Expand Down

0 comments on commit 16730aa

Please sign in to comment.