mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-12 18:26:17 +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):
|
||||
im = hopper(mode)
|
||||
out = im.filter("hello")
|
||||
assert out.mode == im.mode
|
||||
assert out.size == im.size
|
||||
|
||||
|
||||
# crashes on small images
|
||||
|
|
Loading…
Reference in New Issue
Block a user