pytest operated with Example given: unknown hook 'pytest_namespace' in plugin <module 'allure.pytest_plugin'

Example pytest run in use, being given: pluggy.manager.PluginValidationError: unknown hook 'pytest_namespace' in plugin <module 'allure.pytest_plugin' from 'D: \\ python3.7.1 \\ lib \\ site-packages \\ allure \\ pytest_plugin.py '>

Internet that is too high pytest version

Environment pytest is 5.3.1, uninstall reinstall pytest == 4.0.2, can operate normally

Guess you like

Origin www.cnblogs.com/xioawu-blog/p/12038274.html