-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
pytest syntax_error.py --pdb should not drop into pdb? #3649
Comments
GitMate.io thinks possibly related issues are #1932 (pytest --pdb is no longer working with Flask_testing), #3245 (py.test on pytest fails when not limiting to the testing folder), #1411 (Pytest stops), #262 (--pdb drops you into pdb if you have an xfail), and #2574 (pytest --fixtures drops indentation from fixture docstring). |
The Entering the debugger is unrelated though, so we'd have to write a lot of new code to check why the debugger was being entered and conditionally skip it. IMO syntax errors with a debugger set are too rare to justify maintaining that extra code. |
no no, this is definitely worth fixing |
I think that in general, debugger should not be launched in the collection phase |
Edit: Ah, disregard, it was all |
for me all I needed was |
as far as I can tell, it has always done this -- is this a desirable behaviour?
The text was updated successfully, but these errors were encountered: