mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-09-24 13:07:00 +03:00
Skip pyroma test if git is not available
This commit is contained in:
parent
640f55a655
commit
295ccec440
|
@ -1,5 +1,7 @@
|
|||
from __future__ import annotations
|
||||
|
||||
import shutil
|
||||
|
||||
import pytest
|
||||
|
||||
from PIL import __version__
|
||||
|
@ -7,6 +9,7 @@ from PIL import __version__
|
|||
pyroma = pytest.importorskip("pyroma", reason="Pyroma not installed")
|
||||
|
||||
|
||||
@pytest.mark.skipif(not shutil.which("git"), reason="Git is used by check-manifest")
|
||||
def test_pyroma() -> None:
|
||||
# Arrange
|
||||
data = pyroma.projectdata.get_data(".")
|
||||
|
|
Loading…
Reference in New Issue
Block a user