mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-25 17:36:18 +03:00
xfail the fuzzer check as well
This commit is contained in:
parent
c94f66ad13
commit
af6fb9c518
|
@ -2,13 +2,17 @@ import subprocess
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
import fuzzers
|
import fuzzers
|
||||||
|
import packaging
|
||||||
import pytest
|
import pytest
|
||||||
|
|
||||||
from PIL import Image
|
from PIL import Image, features
|
||||||
|
|
||||||
if sys.platform.startswith("win32"):
|
if sys.platform.startswith("win32"):
|
||||||
pytest.skip("Fuzzer is linux only", allow_module_level=True)
|
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(
|
@pytest.mark.parametrize(
|
||||||
"path",
|
"path",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user