Capitalise Python
This commit is contained in:
parent
4b3c258627
commit
cdcca1533b
|
@ -86,7 +86,7 @@ def pytest_addoption(parser: Parser) -> None:
|
||||||
"-W",
|
"-W",
|
||||||
"--pythonwarnings",
|
"--pythonwarnings",
|
||||||
action="append",
|
action="append",
|
||||||
help="set which warnings to report, see -W option of python itself.",
|
help="set which warnings to report, see -W option of Python itself.",
|
||||||
)
|
)
|
||||||
parser.addini(
|
parser.addini(
|
||||||
"filterwarnings",
|
"filterwarnings",
|
||||||
|
@ -154,7 +154,7 @@ def pytest_addoption(parser: Parser) -> None:
|
||||||
group.addoption(
|
group.addoption(
|
||||||
"--pyargs",
|
"--pyargs",
|
||||||
action="store_true",
|
action="store_true",
|
||||||
help="try to interpret all arguments as python packages.",
|
help="try to interpret all arguments as Python packages.",
|
||||||
)
|
)
|
||||||
group.addoption(
|
group.addoption(
|
||||||
"--ignore",
|
"--ignore",
|
||||||
|
|
|
@ -77,7 +77,7 @@ def pytest_addoption(parser: Parser) -> None:
|
||||||
default="",
|
default="",
|
||||||
metavar="EXPRESSION",
|
metavar="EXPRESSION",
|
||||||
help="only run tests which match the given substring expression. "
|
help="only run tests which match the given substring expression. "
|
||||||
"An expression is a python evaluatable expression "
|
"An expression is a Python evaluatable expression "
|
||||||
"where all names are substring-matched against test names "
|
"where all names are substring-matched against test names "
|
||||||
"and their parent classes. Example: -k 'test_method or test_"
|
"and their parent classes. Example: -k 'test_method or test_"
|
||||||
"other' matches all test functions and classes whose name "
|
"other' matches all test functions and classes whose name "
|
||||||
|
|
Loading…
Reference in New Issue