You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Originally reported by: Armin Rigo (BitBucket: arigo, GitHub: arigo)
"py.test --pdb" ignores the --pdb option for crashes that occur during collect. Try to run "py.test --pdb test_foo.py" with only the line "crash_here" in test_foo.py.
Original comment byholger krekel (BitBucket: hpk42, GitHub: hpk42):
fix issue181: --pdb now also works on collect errors. This was
implemented by a slight internal refactoring and the introduction
of a new hook pytest_exception_interact hook.
fix issue341: introduce new experimental hook for IDEs/terminals to
intercept debugging: pytest_exception_interact(node, call, report).
Originally reported by: Armin Rigo (BitBucket: arigo, GitHub: arigo)
"py.test --pdb" ignores the --pdb option for crashes that occur during collect. Try to run "py.test --pdb test_foo.py" with only the line "crash_here" in test_foo.py.
The text was updated successfully, but these errors were encountered: