Fix linting error

This commit is contained in:
moghadas76 2023-05-26 07:57:58 +00:00
parent f64abb3403
commit fde49ea507

View File

@ -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(
[