fix typos in the resolution of #5125

This commit is contained in:
Ronny Pfannschmidt 2019-06-17 20:35:23 +02:00
parent b38a4e8e11
commit 0627d92df2
3 changed files with 4 additions and 4 deletions

View File

@ -33,7 +33,7 @@ Running ``pytest`` can result in six different exit codes:
:Exit code 4: pytest command line usage error
:Exit code 5: No tests were collected
They are repressended by the :class:`_pytest.main.ExitCode` enum.
They are represented by the :class:`_pytest.main.ExitCode` enum.
Getting help on version, option names, environment variables
--------------------------------------------------------------

View File

@ -35,9 +35,9 @@ class ExitCode(enum.IntEnum):
INTERRUPTED = 2
#: an internal error got in the way
INTERNAL_ERROR = 3
#: pytest was missused
#: pytest was misused
USAGE_ERROR = 4
#: pytest couldnt find tests
#: pytest couldn't find tests
NO_TESTS_COLLECTED = 5

View File

@ -711,7 +711,7 @@ class Testdir:
return res
def genitems(self, colitems):
"""Generate all test items from a collection node.src/_pytest/main.py
"""Generate all test items from a collection node.
This recurses into the collection node and returns a list of all the
test items contained within.