summaryrefslogtreecommitdiff
path: root/_pytest/_code/code.py
diff options
context:
space:
mode:
authorAndras Tim <andras.tim@gmail.com>2017-07-17 01:25:07 +0200
committerAndras Tim <andras.tim@gmail.com>2017-07-17 01:28:16 +0200
commit1c935db571b8e5e763360d682d236a0ee5b29dda (patch)
treeee15430cd5f3846c89a58854f6103a6055d7f677 /_pytest/_code/code.py
parentcf97159009723be555aaa724df18f6f38a417bd2 (diff)
downloadpytest-1c935db571b8e5e763360d682d236a0ee5b29dda.tar.gz
Fixed E129 flake8 errors
visually indented line with same indent as next logical line
Diffstat (limited to '_pytest/_code/code.py')
-rw-r--r--_pytest/_code/code.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/_pytest/_code/code.py b/_pytest/_code/code.py
index 49c300b30..29f046e61 100644
--- a/_pytest/_code/code.py
+++ b/_pytest/_code/code.py
@@ -289,7 +289,7 @@ class Traceback(list):
(excludepath is None or not hasattr(codepath, 'relto') or
not codepath.relto(excludepath)) and
(lineno is None or x.lineno == lineno) and
- (firstlineno is None or x.frame.code.firstlineno == firstlineno)):
+ (firstlineno is None or x.frame.code.firstlineno == firstlineno)):
return Traceback(x._rawentry, self._excinfo)
return self