diff --git a/src/_pytest/main.py b/src/_pytest/main.py index 31f3e8c90..ea3850566 100644 --- a/src/_pytest/main.py +++ b/src/_pytest/main.py @@ -86,7 +86,7 @@ def pytest_addoption(parser: Parser) -> None: "-W", "--pythonwarnings", 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( "filterwarnings", @@ -154,7 +154,7 @@ def pytest_addoption(parser: Parser) -> None: group.addoption( "--pyargs", action="store_true", - help="try to interpret all arguments as python packages.", + help="try to interpret all arguments as Python packages.", ) group.addoption( "--ignore", diff --git a/src/_pytest/mark/__init__.py b/src/_pytest/mark/__init__.py index 11e6e34d7..aac65dca3 100644 --- a/src/_pytest/mark/__init__.py +++ b/src/_pytest/mark/__init__.py @@ -77,7 +77,7 @@ def pytest_addoption(parser: Parser) -> None: default="", metavar="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 " "and their parent classes. Example: -k 'test_method or test_" "other' matches all test functions and classes whose name "