Skip to content

Commit

Permalink
Fix test_excinfo_getstatement that broke because of whitespace changes
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoddemus committed Nov 20, 2016
1 parent 1eb5a69 commit 984d4ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testing/code/test_excinfo.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def f():
f()
except ValueError:
excinfo = _pytest._code.ExceptionInfo()
linenumbers = [_pytest._code.getrawcode(f).co_firstlineno - 1 + 3,
linenumbers = [_pytest._code.getrawcode(f).co_firstlineno - 1 + 4,
_pytest._code.getrawcode(f).co_firstlineno - 1 + 1,
_pytest._code.getrawcode(g).co_firstlineno - 1 + 1, ]
l = list(excinfo.traceback)
Expand Down

0 comments on commit 984d4ce

Please sign in to comment.