summaryrefslogtreecommitdiffstats
path: root/testing/util.py
diff options
context:
space:
mode:
Diffstat (limited to 'testing/util.py')
-rw-r--r--testing/util.py13
1 files changed, 0 insertions, 13 deletions
diff --git a/testing/util.py b/testing/util.py
index e807f04..b6c3804 100644
--- a/testing/util.py
+++ b/testing/util.py
@@ -6,7 +6,6 @@ import subprocess
import pytest
-from pre_commit import parse_shebang
from pre_commit.util import CalledProcessError
from pre_commit.util import cmd_output
from pre_commit.util import cmd_output_b
@@ -42,22 +41,10 @@ def cmd_output_mocked_pre_commit_home(
return ret, out.replace('\r\n', '\n'), None
-skipif_cant_run_coursier = pytest.mark.skipif(
- os.name == 'nt' or parse_shebang.find_executable('cs') is None,
- reason="coursier isn't installed or can't be found",
-)
skipif_cant_run_docker = pytest.mark.skipif(
os.name == 'nt' or not docker_is_running(),
reason="Docker isn't running or can't be accessed",
)
-skipif_cant_run_lua = pytest.mark.skipif(
- os.name == 'nt',
- reason="lua isn't installed or can't be found",
-)
-skipif_cant_run_swift = pytest.mark.skipif(
- parse_shebang.find_executable('swift') is None,
- reason="swift isn't installed or can't be found",
-)
xfailif_windows = pytest.mark.xfail(os.name == 'nt', reason='windows')