Fix up test to get rid of warning

This commit is contained in:
Frederick Price 2023-04-20 12:45:36 -04:00
parent 411ff3322c
commit 6199218d63

View File

@ -54,7 +54,8 @@ class TestFileEps(PillowTestCase):
def test_invalid_file(self):
invalid_file = "Tests/images/flower.jpg"
self.assertRaises(SyntaxError, EpsImagePlugin.EpsImageFile, invalid_file)
self.assertRaises(
SyntaxError, EpsImagePlugin.EpsImageFile, invalid_file)
@unittest.skipUnless(HAS_GHOSTSCRIPT, "Ghostscript not available")
def test_cmyk(self):
@ -255,7 +256,7 @@ class TestFileEps(PillowTestCase):
self.assertEqual(image.format, "EPS")
@pytest.mark.timeout(timeout=5)
# @pytest.mark.timeout(timeout=5)
@pytest.mark.parametrize(
"test_file",
[