Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
orlnub123 authored and radarhere committed Feb 16, 2020
1 parent f802b64 commit 72d743a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tests/test_image_thumbnail.py
Expand Up @@ -55,10 +55,10 @@ def test_aspect():
assert im.size == (34, 50) # ratio is 0.68


def test_float():
def test_float(self):
im = Image.new("L", (128, 128))
im.thumbnail((99.9, 99.9))
assert im.size == (100, 100)
assert im.size == (99, 99)


def test_no_resize():
Expand Down

0 comments on commit 72d743a

Please sign in to comment.