mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-10 19:56:47 +03:00
Skip fuzzer tests on windows
This commit is contained in:
parent
8b06fec6ab
commit
6189bca3bc
|
@ -1,11 +1,15 @@
|
|||
import subprocess
|
||||
import sys
|
||||
|
||||
import fuzzers
|
||||
import pytest
|
||||
|
||||
from PIL import Image
|
||||
|
||||
def is_win32():
|
||||
sys.platform.startswith("win32")
|
||||
|
||||
@pytest.mark.skipif(is_win32(), reason="Fuzzer is linux only")
|
||||
@pytest.mark.parametrize(
|
||||
"path",
|
||||
subprocess.check_output("find Tests/images -type f", shell=True).split(b"\n"),
|
||||
|
@ -27,7 +31,7 @@ def test_fuzz_images(path):
|
|||
# Known Image.* exceptions
|
||||
assert True
|
||||
|
||||
|
||||
@pytest.mark.skipif(is_win32(), reason="Fuzzer is linux only")
|
||||
@pytest.mark.parametrize(
|
||||
"path", subprocess.check_output("find Tests/fonts -type f", shell=True).split(b"\n")
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue
Block a user