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
In a plugin I have defined a module variable called pytest_config.
I had no problems in pytest-3.5.0 but when using pytest-3.6.0 I get this following error:
INTERNALERROR> pluggy.PluginValidationError: unknown hook 'pytest_config' in plugin <module 'xxxx.plugin' from 'c:\\xxxx\\plugin.py'>
Solution was trivial, just renamed to _pytest_config, but I would just like to inform this as it could be breaking backwards compatibility from 3.5.0 to 3.6.0.
The text was updated successfully, but these errors were encountered:
GitMate.io thinks possibly related issues are #939 (terminalreporter plugin not available in pytest_configure hook), #732 (Unregistered plugin still receives hook calls), #1062 (hook specs are not set for other plugin hooks), #3385 (plugin hook pytest_runtest_teardown runs on skipped test), and #1821 (Pytest verifies if hooks are valid before processing "pytest_plugins" variable).
Hi,
In a plugin I have defined a module variable called pytest_config.
I had no problems in pytest-3.5.0 but when using pytest-3.6.0 I get this following error:
INTERNALERROR> pluggy.PluginValidationError: unknown hook 'pytest_config' in plugin <module 'xxxx.plugin' from 'c:\\xxxx\\plugin.py'>
Solution was trivial, just renamed to
_pytest_config
, but I would just like to inform this as it could be breaking backwards compatibility from 3.5.0 to 3.6.0.The text was updated successfully, but these errors were encountered: