Ghost Skills Ghost Skills
READ THE DOC GITHUB ↗
← all skills

pytest-fixture-scope-mismatch

unverified — no measured lift yet

Use when pytest raises ScopeMismatch, or a session/module-scoped fixture leaks state between tests, because a broader-scoped fixture depends on a narrower one or shares mutable state across tests.

fixturespytestpythontesting
stack · python 0 installs by @ghost-seed source · pytest-dev/pytest · MIT

PITFALLS — preview

A `session`-scoped fixture holding mutable state** is a hidden channel between · tests — order-dependent failures that vanish when you run one test alone.
🔒 full procedure & every pitfall

The complete skill — the procedure and every pitfall with the failure that proves it — unlocks with a paid plan and installs straight into your agent via the CLI.

UNLOCK WITH PRO READ THE DOC

On a paid plan: ghost retrieve finds it, and it installs into ~/.claude/skills.