xfail the fuzzer check as well

This commit is contained in:
Eric Soroos 2021-04-10 12:03:39 +02:00
parent c94f66ad13
commit af6fb9c518

View File

@ -2,13 +2,17 @@ import subprocess
import sys
import fuzzers
import packaging
import pytest
from PIL import Image
from PIL import Image, features
if sys.platform.startswith("win32"):
pytest.skip("Fuzzer is linux only", allow_module_level=True)
if features.check('libjpeg_turbo'):
version = packaging.version.parse(features.version('libjpeg_turbo'))
if version.major == 2 and version.minor == 0:
pytestmark = pytest.mark.valgrind_known_error(reason="Known failing with libjpeg_turbo 2.0")
@pytest.mark.parametrize(
"path",