From 6199218d6331cd08b9cd56a22f7fd384a209cbfa Mon Sep 17 00:00:00 2001 From: Frederick Price Date: Thu, 20 Apr 2023 12:45:36 -0400 Subject: [PATCH] Fix up test to get rid of warning --- Tests/test_file_eps.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Tests/test_file_eps.py b/Tests/test_file_eps.py index 2f3a63bc6..c20ee5170 100644 --- a/Tests/test_file_eps.py +++ b/Tests/test_file_eps.py @@ -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", [