Traceback with --pdb refers to previous pdb.set_trace()
#3237
Labels
plugin: debugging
related to the debugging builtin plugin
type: bug
problem that needs to be addressed
Given
t/test_pdb_offset.py
:Running
pytest t/test_pdb_offset.py --tb=short --pdb
result in:Notice the first entry in the traceback (
t/test_pdb_offset.py:7
), which refers to the line after thepdb.set_trace()
, but it should be the line whereraises
gets called.pytest 3.4.1.dev51+gb486e129.
The text was updated successfully, but these errors were encountered: