Skip to content

Fix fixture tests for allure_pytest failing against pytest 9.1#916

Merged
epszaw merged 1 commit into
masterfrom
test-fix-pytest9.1-teardown-names
Jul 2, 2026
Merged

Fix fixture tests for allure_pytest failing against pytest 9.1#916
epszaw merged 1 commit into
masterfrom
test-fix-pytest9.1-teardown-names

Conversation

@delatrie

@delatrie delatrie commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

Context

Pytest 9.1 adds a lambda finalizer to fixtures, which makes Allure teardown fixture name suffixes shift by 1. This PR weakens the tests to accept any number as the suffix.

@delatrie delatrie added the type:internal Change that isn't visible or obvious for end users label Jul 2, 2026
@delatrie delatrie force-pushed the test-fix-pytest9.1-teardown-names branch from 5f48b72 to ab170d2 Compare July 2, 2026 10:46
@delatrie delatrie force-pushed the test-fix-pytest9.1-teardown-names branch from ab170d2 to 9541c61 Compare July 2, 2026 10:48
@epszaw epszaw merged commit 871b8dd into master Jul 2, 2026
53 checks passed
@epszaw epszaw deleted the test-fix-pytest9.1-teardown-names branch July 2, 2026 10:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type:internal Change that isn't visible or obvious for end users

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants