Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Documentation shows incorrect pytest output color for subtests #13902

Copy link
Copy link

Description

@tsvikas
Issue body actions

Location: https://docs.pytest.org/en/stable/how-to/subtests.html#subtests
The documentation shows:

$ pytest -q test_subtest.py
uuuuuF                                                               [100%]

where all the u characters are green (passing).
Actual behavior: Running the example produces mixed results - some u are green (passed subtests) and some are red (failed subtests).

The documentation should reflect the mixed pass/fail colors.
(it might be an issue in the code-block:: pytest style)

Also, we might want to use different characters for passing vs failing subtests to support non-color terminal outputs

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    plugin: subtestsrelated to the subtests builtin pluginrelated to the subtests builtin plugintype: bugproblem that needs to be addressedproblem that needs to be addressedtype: docsdocumentation improvement, missing or needing clarificationdocumentation improvement, missing or needing clarification

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.