fix typos in the resolution of #5125 (#5458)

fix typos in the resolution of #5125
This commit is contained in:
Bruno Oliveira 2019-06-17 16:55:26 -03:00 committed by GitHub
commit b713460cc7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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.