[diffoscope] 01/01: tests: skip test using a format accepted by older pytest

Mattia Rizzolo mattia at debian.org
Mon Oct 24 00:06:57 CEST 2016


This is an automated email from the git hooks/post-receive script.

mattia pushed a commit to branch master
in repository diffoscope.

commit fa076223f0ce9639943600f41bd5881d8e0500e3
Author: Mattia Rizzolo <mattia at debian.org>
Date:   Sun Oct 23 22:06:47 2016 +0000

    tests: skip test using a format accepted by older pytest
    
    Closes: #841146
---
 tests/comparators/utils.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/comparators/utils.py b/tests/comparators/utils.py
index 838ce54..95e372e 100644
--- a/tests/comparators/utils.py
+++ b/tests/comparators/utils.py
@@ -46,7 +46,7 @@ def skip_unless_tools_exist(*required):
 
 def skip_unless_tool_is_older_than(tool, actual_ver, min_ver, vcls=LooseVersion):
     if tools_missing(tool):
-        return pytest.mark.skip(reason="requires {}".format(tool))
+        return pytest.mark.skipif(True, reason="requires {}".format(tool))
     if callable(actual_ver):
         actual_ver = actual_ver()
     return pytest.mark.skipif(

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/diffoscope.git


More information about the diffoscope mailing list