You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Phantom <lambda> teardown entries with unknown status when using pytest 9.1+ #918
When using allure-pytest (2.15.3 or 2.16.0) with pytest >= 9.1.0, every fixture produces a phantom <fixture>::<lambda> afterStage entry in the Allure report with unknown status. These entries are not real teardown failures — they are internal pytest finalizers that allure wraps but are never invoked through allure's wrapper.
Versions
pytest: 9.1.1
allure-pytest: 2.16.0
Python: 3.12
Works correctly with pytest <= 9.0.x.
Hi @delatrie, @epszaw! I've opened #937 with a fix and acceptance tests for this issue (superseding the stale #921). Could you please approve the CI workflow run and take a look when you have a moment?
Activity
nekdan commentedon Nov 12, 2026
Hi @delatrie, @epszaw! I've opened #937 with a fix and acceptance tests for this issue (superseding the stale #921). Could you please approve the CI workflow run and take a look when you have a moment?