Skip to content
Snippets Groups Projects
Commit e52eef5a authored by Chris Lamb's avatar Chris Lamb :eyes:
Browse files

Ensure that tests with >= -style version constraints actually print the tool...

Ensure that tests with >= -style version constraints actually print the tool name. (Closes: #370)
parent 9659938d
No related branches found
No related tags found
No related merge requests found
......@@ -126,7 +126,7 @@ def skip_unless_tool_is_at_least(tool, actual_ver, min_ver, vcls=Version):
return skipif(
vcls(str(actual_ver)) < vcls(str(min_ver)),
reason="{} >= {} ({} detected)".format(
reason(tool), min_ver, actual_ver
reason(tool, force_include=True), min_ver, actual_ver
),
tools=(tool,),
)
......@@ -140,7 +140,7 @@ def skip_unless_tool_is_at_most(tool, actual_ver, max_ver, vcls=Version):
return skipif(
vcls(str(actual_ver)) > vcls(str(max_ver)),
reason="{} <= {} ({} detected)".format(
reason(tool), max_ver, actual_ver
reason(tool, force_include=True), max_ver, actual_ver
),
tools=(tool,),
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment