Fix test_excinfo_getstatement that broke because of whitespace changes

This commit is contained in:
Bruno Oliveira 2016-11-20 19:12:42 -02:00
parent 1eb5a690d4
commit 984d4ce5ec
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ def test_excinfo_getstatement():
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)