Skip to content

Rerun failed tests broken in 5.4.3 #7508

@throwable-one

Description

@throwable-one
from unittest import TestCase


def test_test():
    assert False


class FooTest(TestCase):
    def test_test(self):
        self.fail()

Run pytest. Two tests should fail. Run with --last-failed. Only one test launched.
Try latest 5.3: it works as expected

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: regressionindicates a problem that was introduced in a release which was working previously

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions