2026-07-11 18:04:07
Did you know that you can use #PyTest 's plugin manager instance to check whether a particular plugin was loaded? You might have known that.
And did you know that pytest plugins have no "canonical" name, and every plugin's name is literally whatever was passed while it was registered? So if a plugin was autoloaded, it's its entry point name. If it was loaded via `-p` or `PYTEST_PLUGINS`, it's whatever the argument was (i.e. entry point name in the first case, object reference in the second one). And if it was loaded via an explicit call to plugin loader, then it was whatever you passed to the plugin loader.
https://github.com/syrupy-project/syrupy/pull/1142/changes