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
commitcf97159009723be555aaa724df18f6f38a417bd2 (patch)
tree9e2acc8da134a0bc81166195f1e464656e6782f6 /_pytest/_code/code.py
parent57438f3efe487106a5bc779237c5e4e84bd3f4f0 (diff)
downloadpytest-cf97159009723be555aaa724df18f6f38a417bd2.tar.gz
Fixed E128 flake8 errors
continuation line under-indented for visual indent
Diffstat (limited to '_pytest/_code/code.py')
-rw-r--r--_pytest/_code/code.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/_pytest/_code/code.py b/_pytest/_code/code.py
index 77baa3247..49c300b30 100644
--- a/_pytest/_code/code.py
+++ b/_pytest/_code/code.py
@@ -339,8 +339,8 @@ class Traceback(list):
loc = f.f_locals
for otherloc in l:
if f.is_true(f.eval(co_equal,
- __recursioncache_locals_1=loc,
- __recursioncache_locals_2=otherloc)):
+ __recursioncache_locals_1=loc,
+ __recursioncache_locals_2=otherloc)):
return i
l.append(entry.frame.f_locals)
return None
@@ -408,7 +408,7 @@ class ExceptionInfo(object):
return ReprFileLocation(path, lineno+1, exconly)
def getrepr(self, showlocals=False, style="long",
- abspath=False, tbfilter=True, funcargs=False):
+ abspath=False, tbfilter=True, funcargs=False):
""" return str()able representation of this exception info.
showlocals: show locals per traceback entry
style: long|short|no|native traceback style
@@ -425,7 +425,7 @@ class ExceptionInfo(object):
)), self._getreprcrash())
fmt = FormattedExcinfo(showlocals=showlocals, style=style,
- abspath=abspath, tbfilter=tbfilter, funcargs=funcargs)
+ abspath=abspath, tbfilter=tbfilter, funcargs=funcargs)
return fmt.repr_excinfo(self)
def __str__(self):