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

Calling fixtures directly is now an error instead of a warning #4561

Merged

Conversation

nicoddemus
Copy link
Member

Fix #4545

src/_pytest/deprecated.py Show resolved Hide resolved
@nicoddemus nicoddemus force-pushed the remove-calling-fixtures-directly branch from b488faf to 0115766 Compare December 19, 2018 11:26
Copy link
Member

@RonnyPfannschmidt RonnyPfannschmidt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lovely - with this in place we can soon replace it with actual fixture definition objects

@nicoddemus
Copy link
Member Author

The travis failure is unrelated: #4563

@nicoddemus nicoddemus merged commit c400d8b into pytest-dev:features Dec 19, 2018
@nicoddemus nicoddemus deleted the remove-calling-fixtures-directly branch December 19, 2018 13:37
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