-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
pytest-2.4.0.dev7 crashes with some autouse fixtures #336
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
Original comment by holger krekel (BitBucket: hpk42, GitHub: hpk42): I doubt you installed the latest version - it still shows pytest-2.4.dev7 but trunk has dev8 now. (UPDATE: ok, you probably didn't repaste the traceback). The line number of python.py:1510 doesn't show the line of your traceback. I'd like to have a trunk-based traceback if possible. |
Original comment by Andreas Pelme (BitBucket: pelme, GitHub: pelme): I ran with dev8 too, but did not repost the traceback. This is the full traceback:
I double checked the line numbers just to be sure, and this where the crash happends which matches my current checkout: |
Original comment by Floris Bruynooghe (BitBucket: flub, GitHub: flub): Fix issue 336: autouse fixtures in plugins work again When an autouse fixture in a plugin was encountered None was stored as nodeid This also adds another test for the normal fixture ordering which was slightly |
Originally reported by: Andreas Pelme (BitBucket: pelme, GitHub: pelme)
I just installed the latest dev version of pytest (pip install -i http://pypi.testrun.org -U pytest) and got this error:
I have not done any extensive debugging, but this is the value of basenames when the crash occurs:
These are the names of pytest-django autouse fixtures, so this might very well be a bug in pytest-django.
I can probably try to tackle this at august 1st, but my fixture internals knowledge is very limited. :-)
This crash does not occur with pytest 2.3.5.
The text was updated successfully, but these errors were encountered: