Skip to content

Commit 984d4ce

Browse files
committed
Fix test_excinfo_getstatement that broke because of whitespace changes
1 parent 1eb5a69 commit 984d4ce

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

testing/code/test_excinfo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def f():
6464
f()
6565
except ValueError:
6666
excinfo = _pytest._code.ExceptionInfo()
67-
linenumbers = [_pytest._code.getrawcode(f).co_firstlineno - 1 + 3,
67+
linenumbers = [_pytest._code.getrawcode(f).co_firstlineno - 1 + 4,
6868
_pytest._code.getrawcode(f).co_firstlineno - 1 + 1,
6969
_pytest._code.getrawcode(g).co_firstlineno - 1 + 1, ]
7070
l = list(excinfo.traceback)

0 commit comments

Comments
 (0)