[diffoscope] 02/05: Print the detected version in @skip_unless_tool_is_at_least test utility.

Chris Lamb chris at chris-lamb.co.uk
Sat Dec 24 19:27:28 UTC 2016


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

lamby pushed a commit to branch master
in repository diffoscope.

commit 043a0d30bcc41f2f1ffca736e8b461a97014cb4c
Author: Chris Lamb <lamby at debian.org>
Date:   Sat Dec 24 19:15:08 2016 +0000

    Print the detected version in @skip_unless_tool_is_at_least test utility.
    
    Signed-off-by: Chris Lamb <lamby at debian.org>
---
 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 972a2c8..818229b 100644
--- a/tests/comparators/utils.py
+++ b/tests/comparators/utils.py
@@ -47,7 +47,7 @@ def skip_unless_tool_is_at_least(tool, actual_ver, min_ver, vcls=LooseVersion):
         actual_ver = actual_ver()
     return pytest.mark.skipif(
         vcls(str(actual_ver)) < vcls(str(min_ver)),
-        reason="requires {} >= {}".format(tool, min_ver)
+        reason="requires {} >= {} ({} detected)".format(tool, min_ver, actual_ver)
     )
 
 def load_fixture(filename):

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



More information about the Reproducible-commits mailing list