-
Notifications
You must be signed in to change notification settings - Fork 213
(Fortunately) broken pytest_load_initial_conftests decorator #24
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
Comments
Mhh, I have no clue how this could have happended.. Nothing except tryfirst makes sense here. #25 |
Thanks a lot for for the immediate fix! |
I guess it does work for your case? I'd release a new version soon. |
Great. And yes, it works perfectly. |
Just released 1.8.1 |
thank you guys. I just ran into this error last night and to see it fixed this afternoon is freaking great. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The @pytest.mark.try_last decorator of the pytest_load_initial_conftests hook has no effect, it should contain no underscore (see http://pytest.org/latest/example/markers.html#registering-markers).
But with respect to issue #19 (see also pytest-dev/pytest-django#175 and pytest-dev/pytest-django#186) I would propose to rather decorate the hook with the @pytest.mark.tryfirst decorator, if any.
The text was updated successfully, but these errors were encountered: