-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
unittest: do not use TestCase.debug
with --pdb
#6014
Conversation
Decided to revert to sane behavior, until this is addressed properly (#5996 is a start). |
1f4acae
to
ac53a82
Compare
Reverts pytest-dev#1890, which needs to be fixed/addressed in another way (pytest-dev#5996). Fixes pytest-dev#5991.
ac53a82
to
fac9331
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a regression I'm afraid, we need to find a new way to properly handle skips...
Sure - but it was a regression / bug from the beginning. |
Should I do this against master maybe instead? ;) Seriously, I am aware that it reverts a previous change, but that one is just wrong, and caused multiple (and more serious) regressions to start with. I've came across this several times, and it had to be adjusted / fixed multiple times. |
But since this conflicts anyway already, and me being tired of pointing it out (and people not caring), I'll just close it for now. |
@nicoddemus After investigating, and giving it a try myself to fix it I've concluded that it is the best to revert this for now, especially since the issue mentions a specific workaround already, and the more obvious would be to just put a Anyway, what I really do not get is that "reverting this mis-feature" is being rejected as being a regression itself..! I would like to raise awareness that we should strive for rather reverting a broken feature than carrying it along (there were several fixups already after #1890). |
You got a point there. I'm on vacation at the moment so I can't look at the code now, but I will pick it up again when I get back. |
I agree, see #5996 (comment). |
Reverts #1890, which needs to
be fixed/addressed in another way
(#5996).
Fixes #5991.