summaryrefslogtreecommitdiff
path: root/testsuite/E12.py
diff options
context:
space:
mode:
authorFlorent Xicluna <florent.xicluna@gmail.com>2014-04-04 21:45:55 +0200
committerFlorent Xicluna <florent.xicluna@gmail.com>2014-04-04 21:45:55 +0200
commit45c4a3b9e2b16ecaebaafc84f65ff4c20a9c89d8 (patch)
tree41af23efabbfe90eeb57f501667dc846a8f14343 /testsuite/E12.py
parent1d3279be15e7cf132e45983f613ff9d2a4dca4ee (diff)
downloadpep8-45c4a3b9e2b16ecaebaafc84f65ff4c20a9c89d8.tar.gz
Fix wrong offset computation when error is on the last char of a physical line; issue #268
Diffstat (limited to 'testsuite/E12.py')
-rw-r--r--testsuite/E12.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/E12.py b/testsuite/E12.py
index 84650f1..6ebd44e 100644
--- a/testsuite/E12.py
+++ b/testsuite/E12.py
@@ -367,4 +367,10 @@ print dedent(
# more stuff
)
)
+#: E701:1:8 E122:2:1 E203:4:8 E128:5:1
+if True:\
+print(True)
+
+print(a
+, end=' ')
#: