We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 53800d4 commit a908c62Copy full SHA for a908c62
1 file changed
Tests/test_file_eps.py
@@ -1,6 +1,7 @@
1
from __future__ import annotations
2
3
import io
4
+import subprocess
5
from pathlib import Path
6
7
import pytest
@@ -281,6 +282,11 @@ def test_bytesio_object() -> None:
281
282
),
283
)
284
def test_1(filename: str) -> None:
285
+ gs_binary = EpsImagePlugin.gs_binary
286
+ assert isinstance(gs_binary, str)
287
+ if subprocess.check_output([gs_binary, "--version"]) == b"10.06.0\n":
288
+ pytest.skip("Fails with Ghostscript 10.06.0")
289
+
290
with Image.open(filename) as im:
291
assert_image_equal_tofile(im, "Tests/images/eps/1.bmp")
292
0 commit comments