Update src/_pytest/terminal.py

Co-authored-by: Bruno Oliveira <nicoddemus@gmail.com>
This commit is contained in:
Roberto Aldera 2023-05-17 06:48:41 +01:00 committed by GitHub
parent d7d23b3637
commit 6342cc85af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 3 deletions

View File

@ -117,9 +117,14 @@ class TestShortLogReport(NamedTuple):
"""Used to store the test status result category, shortletter and verbose word. """Used to store the test status result category, shortletter and verbose word.
For example ``"rerun", "R", ("RERUN", {"yellow": True})``. For example ``"rerun", "R", ("RERUN", {"yellow": True})``.
category: the class of result, for example passed, skipped, error, or the empty string :ivar category:
letter: the shortletter shown as testing progresses, for example ".", "s", "E", or the empty string. The class of result, for example ``passed``, ``skipped``, ``error``, or the empty string.
word: verbose word is shown as testing progresses in verbose mode, for example "PASSED", "SKIPPED",
:ivar letter:
The short letter shown as testing progresses, for example ``"."``, ``"s"``, ``"E"``, or the empty string.
:ivar word:
Verbose word is shown as testing progresses in verbose mode, for example ``"PASSED"``, ``"SKIPPED"``.
"ERROR", or the empty string. "ERROR", or the empty string.
""" """