Skip to content

Fixes the hook registration since pytest 2.8. Requirement changed #149

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

Closed
wants to merge 1 commit into from

Conversation

olegpidsadnyi
Copy link
Contributor

Method addhooks is deprecated since pytest2.8.
Why don't we just increase the version number to 2.16.0 with py.test 2.8 as a requirement.
Changing addhooks to add_hookspecs seems to help.

@bubenkoff
Copy link
Member

pytest-dev/pytest#1062

@The-Compiler
Copy link
Member

I didn't see this before opening #163 - anyways, #163 fixes the same in a way which is backwards compatible to 2.7.

@The-Compiler
Copy link
Member

I think this can be closed now that #163 is merged, right?

@The-Compiler
Copy link
Member

Closing this as I think it's taken care of with #163.

@olegpidsadnyi olegpidsadnyi deleted the fixhooks branch March 19, 2016 09:13
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.

3 participants