--last-failed 可以静默地跳过名字中带有括号的失败自定义项
作者: host452b创建于 2026年9月17日更新于 2026年9月17日
When a custom collector creates an Item whose name contains brackets, `--last-failed` can omit that item even though it failed in the previous run. If another previously failing item has been fixed, pytest reports success while the bracket-named item still fails in a full run.
内容来源: pytest-dev/pytest