Clarify `markers` ini property role Fix #11738

This commit is contained in:
Marc Bresson 2023-12-26 11:50:51 +01:00 committed by Marc Bresson
parent 52db918a27
commit 0299a31e5a
2 changed files with 2 additions and 2 deletions

View File

@ -2086,7 +2086,7 @@ All the command-line flags can be obtained by running ``pytest --help``::
[pytest] ini-options in the first pytest.ini|tox.ini|setup.cfg|pyproject.toml file found:
markers (linelist): Markers for test functions
markers (linelist): Register new markers for test functions
empty_parameter_set_mark (string):
Default marker for empty parametersets
norecursedirs (args): Directory patterns to avoid for recursion

View File

@ -105,7 +105,7 @@ def pytest_addoption(parser: Parser) -> None:
help="show markers (builtin, plugin and per-project ones).",
)
parser.addini("markers", "Markers for test functions", "linelist")
parser.addini("markers", "Register new markers for test functions", "linelist")
parser.addini(EMPTY_PARAMETERSET_OPTION, "Default marker for empty parametersets")