Skip to content

Small refactorings #3708

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

Merged
merged 3 commits into from
Jul 23, 2018
Merged

Conversation

nicoddemus
Copy link
Member

Because it seems #3705 will take longer than I would like, as commented in #3705 (review) here are some commits with small refactorings so we can get this in.

As it were before, it was keeping a reference to fixturefunc and it
alive when an error occurred
pytest_fixture_setup was somewhat convoluted because it was trying
to do too many things.
Since fixture and yield_fixture are identical, they should call
the same code; as it was, the code inside them was already starting
to deviate.
@coveralls
Copy link

Coverage Status

Coverage increased (+0.05%) to 92.541% when pulling f516506 on nicoddemus:small-refactors into 0bb29d5 on pytest-dev:features.

@RonnyPfannschmidt RonnyPfannschmidt merged commit f8749ee into pytest-dev:features Jul 23, 2018
@RonnyPfannschmidt
Copy link
Member

great job

@nicoddemus nicoddemus deleted the small-refactors branch July 23, 2018 09:52
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.

4 participants