summaryrefslogtreecommitdiff
path: root/_pytest/assertion
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/assertion
parentcf97159009723be555aaa724df18f6f38a417bd2 (diff)
downloadpytest-1c935db571b8e5e763360d682d236a0ee5b29dda.tar.gz
Fixed E129 flake8 errors
visually indented line with same indent as next logical line
Diffstat (limited to '_pytest/assertion')
-rw-r--r--_pytest/assertion/rewrite.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/_pytest/assertion/rewrite.py b/_pytest/assertion/rewrite.py
index 1849d9cba..95cc217d4 100644
--- a/_pytest/assertion/rewrite.py
+++ b/_pytest/assertion/rewrite.py
@@ -307,7 +307,7 @@ def _rewrite_test(config, fn):
end2 = source.find("\n", end1 + 1)
if (not source.startswith(BOM_UTF8) and
cookie_re.match(source[0:end1]) is None and
- cookie_re.match(source[end1 + 1:end2]) is None):
+ cookie_re.match(source[end1 + 1:end2]) is None):
if hasattr(state, "_indecode"):
# encodings imported us again, so don't rewrite.
return None, None