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 347c3f9 commit c0e741dCopy full SHA for c0e741d
1 file changed
tests/functional/conftest.py
@@ -92,11 +92,12 @@ def valid_formatted_image(
92
tmp_path_factory: pytest.TempPathFactory,
93
) -> bytes:
94
image_format = request.param
95
+ # Try 'magick' first (ImageMagick 7.x), fall back to 'convert' (ImageMagick 6.x)
96
if (magick_path := shutil.which("magick")) is None:
- pytest.fail(
97
- "ImageMagick 'magick' command not found - cannot run "
98
- "multi-format test"
99
- )
+ if (magick_path := shutil.which("convert")) is None:
+ pytest.fail(
+ "ImageMagick command not found - cannot run multi-format test"
100
+ )
101
102
image_dir = tmp_path_factory.mktemp("images")
103
0 commit comments