summaryrefslogtreecommitdiffstats
path: root/test/t/test_perldoc.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/t/test_perldoc.py')
-rw-r--r--test/t/test_perldoc.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/t/test_perldoc.py b/test/t/test_perldoc.py
index 282f824..a5b36d7 100644
--- a/test/t/test_perldoc.py
+++ b/test/t/test_perldoc.py
@@ -9,7 +9,11 @@ class TestPerldoc:
assert "fixtures/" not in completion # Our fixtures/ dir
assert not [x for x in completion if "File::File::" in x]
- @pytest.mark.complete("perldoc -", require_cmd=True)
+ @pytest.mark.complete(
+ "perldoc -",
+ require_cmd=True,
+ skipif="! perldoc -V &>/dev/null",
+ )
def test_2(self, completion):
assert completion