Skip to content

fix: rerun count with pytest-rerunfailures 16.7 - #1086

Open
nicozdeb wants to merge 1 commit into
pytest-dev:masterfrom
nicozdeb:fix-rerun-count-rerunfailures-16.7
Open

nicozdeb wants to merge 1 commit into
pytest-dev:masterfrom
nicozdeb:fix-rerun-count-rerunfailures-16.7

Conversation

@nicozdeb

Copy link
Copy Markdown

pytest-rerunfailures 16.7 reports a teardown after each rerun attempt, which was treated as the end of the test, so stored reruns were processed again (5 instead of 2). Ignore the teardown that follows a rerun; older versions are unaffected.

Fixes #1085

pytest-rerunfailures 16.7 reports a teardown after each rerun attempt.
Ignore it so that stored reruns are not processed again.

Fixes pytest-dev#1085
@nicozdeb

Copy link
Copy Markdown
Author

The pre-commit.ci failure is djlint on src/pytest_html/resources/index.jinja2, which this PR doesn't touch; #1081, #1082 and #1083 fail the same way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

test_rerun integration tests fail with pytest-rerunfailures 16.7

1 participant