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

Use repr(..)-style output when printing DIFFOSCOPE_TESTS_FAIL_ON_MISSING_TOOLS...

Use repr(..)-style output when printing DIFFOSCOPE_TESTS_FAIL_ON_MISSING_TOOLS in skipped test rationale text.
parent d5b9daf0
Branches
Tags debian/0.15.0-1
No related merge requests found
......@@ -66,7 +66,7 @@ def skipif(*args, **kwargs):
):
return pytest.mark.skipif(*args, **kwargs)
msg = "{} ({}={})".format(kwargs['reason'], key, val)
msg = "{} ({}={!r})".format(kwargs['reason'], key, val)
# We cannot simply call pytest.fail here as that would result in a failure
# during the test collection phase instead when the test is actually
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment