fix typos in the resolution of #5125
This commit is contained in:
commit
b713460cc7
|
@ -33,7 +33,7 @@ Running ``pytest`` can result in six different exit codes:
|
||||||
:Exit code 4: pytest command line usage error
|
:Exit code 4: pytest command line usage error
|
||||||
:Exit code 5: No tests were collected
|
: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
|
Getting help on version, option names, environment variables
|
||||||
--------------------------------------------------------------
|
--------------------------------------------------------------
|
||||||
|
|
|
@ -35,9 +35,9 @@ class ExitCode(enum.IntEnum):
|
||||||
INTERRUPTED = 2
|
INTERRUPTED = 2
|
||||||
#: an internal error got in the way
|
#: an internal error got in the way
|
||||||
INTERNAL_ERROR = 3
|
INTERNAL_ERROR = 3
|
||||||
#: pytest was missused
|
#: pytest was misused
|
||||||
USAGE_ERROR = 4
|
USAGE_ERROR = 4
|
||||||
#: pytest couldnt find tests
|
#: pytest couldn't find tests
|
||||||
NO_TESTS_COLLECTED = 5
|
NO_TESTS_COLLECTED = 5
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -711,7 +711,7 @@ class Testdir:
|
||||||
return res
|
return res
|
||||||
|
|
||||||
def genitems(self, colitems):
|
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
|
This recurses into the collection node and returns a list of all the
|
||||||
test items contained within.
|
test items contained within.
|
||||||
|
|
Loading…
Reference in New Issue