From 984d4ce5ec31d0d0d8771c7e5ab3f639182c9025 Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Sun, 20 Nov 2016 19:12:42 -0200 Subject: [PATCH] Fix test_excinfo_getstatement that broke because of whitespace changes --- testing/code/test_excinfo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testing/code/test_excinfo.py b/testing/code/test_excinfo.py index c72b87428..23b0a985e 100644 --- a/testing/code/test_excinfo.py +++ b/testing/code/test_excinfo.py @@ -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)