skipping: better links in --markers output
Suggested by Bruno.
This commit is contained in:
parent
c9737ae914
commit
7d8d1b4440
|
@ -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",
|
||||
)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue