Remove the pytest plugin, recommend inline-snapshot instead
Merged
SA
21d ago+25+25+01234567890123456789-610-610-012345678901234567890123456789
Summary
- Remove
devtools/pytest_plugin.py(insert_assert()), its tests, thepytest11entry point and theblackdev dependency it needed - Add a "Snapshot testing" section to the usage docs recommending inline-snapshot, which does the same job better and is actively maintained
- Drop the docs claim that a pytest fixture installs
debuginto builtins, since that fixture lived in the plugin
Breaking change for anyone using insert_assert, so the next release should be 0.13.0.
Test plan
- ruff, basedpyright clean
- 106 passed on 3.14
- coverage 93.79%, above the smokeshow threshold
-
make docsstrict build passes
🤖 Generated with Claude Code
https://claude.ai/code/session_0125Pi5iurTnuhZ5cZ58xcNn
Summary by cubic
Removes the bundled pytest plugin (insert_assert()) and recommends inline-snapshot instead, which does the same job better and is actively maintained.
- Removes the plugin, its tests, the
pytest11entry point, and theblackdependency it needed. - Adds a "Snapshot testing" section to the usage docs.
- Drops the claim that a pytest fixture installs
debuginto builtins.
This is a breaking change for anyone using insert_assert, so the next release should be 0.13.0.