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

Fix FixtureDef signature for newer pytest versions #183

Merged
merged 2 commits into from
Jun 21, 2016

Conversation

The-Compiler
Copy link
Member

@The-Compiler The-Compiler commented Jun 17, 2016

(please merge this after #182)

In pytest-dev/pytest#1586 the "yieldctx"
argument to FixtureDef was removed.

This uses utils.get_args to check if it's needed or not so pytest-bdd
works on pytest versions before and after that PR.


This change is Reviewable

pytest switched from Bitbucket to GitHub some while ago. This also uses the
`features` branch as that's the one with the newest breaking changes.
In pytest-dev/pytest#1586 the "yieldctx"
argument to FixtureDef was removed.

This uses utils.get_args to check if it's needed or not so pytest-bdd
works on pytest versions before and after that PR.
@olegpidsadnyi olegpidsadnyi merged commit de0f667 into pytest-dev:master Jun 21, 2016
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