mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-08-13 16:54: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):
|
def test_putpalette(self):
|
||||||
valid_file = "Tests/images/FudanPed00003_mask.png"
|
valid_file = "Tests/images/FudanPed00003_mask.png"
|
||||||
with pytest.raises(ValueError) as err:
|
with pytest.raises(ValueError):
|
||||||
mask = Image.open(valid_file)
|
mask = Image.open(valid_file)
|
||||||
mask.putpalette(
|
mask.putpalette(
|
||||||
[
|
[
|
||||||
|
|
Loading…
Reference in New Issue
Block a user