remove unused asserts

An exception occurs before they would be checked.
This commit is contained in:
Yay295 2022-08-24 18:15:57 -05:00 committed by GitHub
parent a7f7f6ac05
commit 826ab4b17c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -42,8 +42,6 @@ def test_sanity_error(mode):
with pytest.raises(TypeError):
im = hopper(mode)
out = im.filter("hello")
assert out.mode == im.mode
assert out.size == im.size
# crashes on small images