mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-10 19:56:47 +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 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",
|
||||
|
|
Loading…
Reference in New Issue
Block a user