summaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
authorAnthony Sottile <asottile@umich.edu>2018-10-20 17:08:01 -0700
committerAnthony Sottile <asottile@umich.edu>2018-10-20 17:08:01 -0700
commit7004708c968440f94d9583c2a6154d8bc50844a4 (patch)
tree90cd2c506119f5f0153635018ab605d61bf82c4e /testsuite
parentc3d2cbd744236c3a41d1013c9dce2712dcc4eee0 (diff)
downloadpep8-7004708c968440f94d9583c2a6154d8bc50844a4.tar.gz
Fix line offset for 'invalid escape sequence'
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/W60.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/testsuite/W60.py b/testsuite/W60.py
index 030bec5..3f1b77c 100644
--- a/testsuite/W60.py
+++ b/testsuite/W60.py
@@ -19,6 +19,10 @@ regex = '\.png$'
regex = '''
\.png$
'''
+#: W605:2:5
+f(
+ '\_'
+)
#: Okay
regex = r'\.png$'
regex = '\\.png$'