diff --git a/tests/tests_e3/conftest.py b/tests/tests_e3/conftest.py index 2e76aa85..18feafdc 100644 --- a/tests/tests_e3/conftest.py +++ b/tests/tests_e3/conftest.py @@ -8,7 +8,7 @@ import shutil import os from e3.fs import mkdir, cp -from e3.os.fs import touch +from e3.os.fs import touch, which from e3.python.wheel import Wheel import pytest @@ -21,7 +21,14 @@ git = require_tool("git") ldd = require_tool("ldd") -svn = require_tool("svn") + + +def svn_wrapper(request: pytest.FixtureRequest) -> None: + if not which("svn"): + pytest.skip("svn is not available") + + +svn = pytest.fixture(svn_wrapper) class PypiSimulator: