skipping: better links in --markers output

Suggested by Bruno.
This commit is contained in:
Ran Benita 2020-06-21 20:14:45 +03:00
parent c9737ae914
commit 7d8d1b4440
1 changed files with 2 additions and 2 deletions

View File

@ -71,7 +71,7 @@ def pytest_configure(config: Config) -> None:
"skipif(condition, ..., *, reason=...): "
"skip the given test function if any of the conditions evaluate to True. "
"Example: skipif(sys.platform == 'win32') skips the test if we are on the win32 platform. "
"see https://docs.pytest.org/en/latest/skipping.html",
"See https://docs.pytest.org/en/stable/reference.html#pytest-mark-skipif",
)
config.addinivalue_line(
"markers",
@ -81,7 +81,7 @@ def pytest_configure(config: Config) -> None:
"and run=False if you don't even want to execute the test function. "
"If only specific exception(s) are expected, you can list them in "
"raises, and if the test fails in other ways, it will be reported as "
"a true failure. See https://docs.pytest.org/en/latest/skipping.html",
"a true failure. See https://docs.pytest.org/en/stable/reference.html#pytest-mark-xfail",
)