mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-08-10 15:24:45 +03:00
Fix linting error
This commit is contained in:
parent
f64abb3403
commit
fde49ea507
|
@ -102,7 +102,7 @@ class TestFilePng:
|
|||
|
||||
def test_putpalette(self):
|
||||
valid_file = "Tests/images/FudanPed00003_mask.png"
|
||||
with pytest.raises(ValueError) as err:
|
||||
with pytest.raises(ValueError):
|
||||
mask = Image.open(valid_file)
|
||||
mask.putpalette(
|
||||
[
|
||||
|
|
Loading…
Reference in New Issue
Block a user