-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
--pdb and yield tests #1324
Milestone
Comments
nicoddemus
added a commit
to nicoddemus/pytest
that referenced
this issue
Jul 12, 2016
Closes #16 Closes pytest-dev#1324
addressed via #1714 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently,
py.test --pdb
are not optimal for generative tests, as the backtrace goes into the part of nose's code that runs the generator, instead of going into the generator itself. I'd guess it should be possible (if somewhat hackish) to retrieve the traceback of the generator instead (gen.gi_frame
) and stitch it into the current traceback, so that the generator's frame becomes accessible in pdb viaup
.Thoughts?
(crossposted as nose-devs/nose2#260)
The text was updated successfully, but these errors were encountered: