Updated test

This commit is contained in:
Andrew Murray 2020-03-29 16:29:34 +11:00
parent 6d8f2f95db
commit d00b929651

View File

@ -135,10 +135,8 @@ def test_reduce():
im.load()
assert im.size == (160, 120)
try:
im.thumbnail((40, 40))
except ValueError as e:
assert str(e) == "box can't exceed original image size"
assert im.size == (40, 30)
def test_layers_type(tmp_path):