Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid deprecation warnings on pytest 2.8 #163

Merged
merged 3 commits into from
Dec 16, 2015
Merged

Avoid deprecation warnings on pytest 2.8 #163

merged 3 commits into from
Dec 16, 2015

Conversation

The-Compiler
Copy link
Member

Fixes #154.

After this, pytest-bdd is still compatible with pytest 2.7, I didn't check with earlier versions.

pluginmanager.addhooks was deprecated in pytest 2.8 and pluggy's add_hookspecs
should be used instead. Falling back to addhooks for older pytest versions.
@The-Compiler
Copy link
Member Author

The Travis issue seems to be the same I reported in #162.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants