summaryrefslogtreecommitdiff
path: root/testing/code
diff options
context:
space:
mode:
authorBruno Oliveira <nicoddemus@gmail.com>2016-11-20 19:12:42 -0200
committerBruno Oliveira <nicoddemus@gmail.com>2016-11-20 19:12:42 -0200
commit984d4ce5ec31d0d0d8771c7e5ab3f639182c9025 (patch)
tree4ad472c7aade65f38e4cdd7d4dde52c5df3395a1 /testing/code
parent1eb5a690d4c416962b6ccf46618367f68e54ea89 (diff)
downloadpytest-984d4ce5ec31d0d0d8771c7e5ab3f639182c9025.tar.gz
Fix test_excinfo_getstatement that broke because of whitespace changes
Diffstat (limited to 'testing/code')
-rw-r--r--testing/code/test_excinfo.py2
1 files changed, 1 insertions, 1 deletions
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)