Skip to content

Progress display messed up with subtests #201

@bje-

Description

@bje-

I have added some subtests to a test script (test_generators.py) which used to look like this when run by pytest:

tests/test_costs.py ...                                                                                        [ 31%]
tests/test_generators.py .........................                                                             [ 48%]
tests/test_nem.py ...                                                                                          [ 51%]
tests/test_penalties.py ...........                                                                            [ 58%]

Once pytest-subtests is installed, the output is messed up:

tests/test_costs.py ...                                                                                        [ 31%]
tests/test_generators.py ......... [ 37%]
................                                                                                 [ 48%]
tests/test_nem.py ...                                                                                          [ 51%]
tests/test_penalties.py ...........                                                                            [ 58%]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions