mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-06-28 00:43:05 +03:00
remove unused asserts
An exception occurs before they would be checked.
This commit is contained in:
parent
a7f7f6ac05
commit
826ab4b17c
|
@ -42,8 +42,6 @@ def test_sanity_error(mode):
|
||||||
with pytest.raises(TypeError):
|
with pytest.raises(TypeError):
|
||||||
im = hopper(mode)
|
im = hopper(mode)
|
||||||
out = im.filter("hello")
|
out = im.filter("hello")
|
||||||
assert out.mode == im.mode
|
|
||||||
assert out.size == im.size
|
|
||||||
|
|
||||||
|
|
||||||
# crashes on small images
|
# crashes on small images
|
||||||
|
|
Loading…
Reference in New Issue
Block a user