mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-10 19:56:47 +03:00
Can't skip windows properly because the depenedncy is in the decorator
This commit is contained in:
parent
bb6b991d8d
commit
487dc16ce6
|
@ -7,11 +7,10 @@ import pytest
|
||||||
from PIL import Image
|
from PIL import Image
|
||||||
|
|
||||||
|
|
||||||
def is_win32():
|
if sys.platform.startswith("win32"):
|
||||||
sys.platform.startswith("win32")
|
pytest.skip("Fuzzer is linux only", true)
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.skipif(is_win32(), reason="Fuzzer is linux only")
|
|
||||||
@pytest.mark.parametrize(
|
@pytest.mark.parametrize(
|
||||||
"path",
|
"path",
|
||||||
subprocess.check_output("find Tests/images -type f", shell=True).split(b"\n"),
|
subprocess.check_output("find Tests/images -type f", shell=True).split(b"\n"),
|
||||||
|
@ -41,7 +40,6 @@ def test_fuzz_images(path):
|
||||||
assert True
|
assert True
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.skipif(is_win32(), reason="Fuzzer is linux only")
|
|
||||||
@pytest.mark.parametrize(
|
@pytest.mark.parametrize(
|
||||||
"path", subprocess.check_output("find Tests/fonts -type f", shell=True).split(b"\n")
|
"path", subprocess.check_output("find Tests/fonts -type f", shell=True).split(b"\n")
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user