summaryrefslogtreecommitdiff
path: root/testsuite/E30.py
diff options
context:
space:
mode:
authorAdi Roiban <adi.roiban@chevah.com>2018-03-24 13:06:24 +0000
committerIan Stapleton Cordasco <graffatcolmingov@gmail.com>2018-03-24 08:06:24 -0500
commit368e62cb6c57ff386b5a08659a5a9d2866b80a2f (patch)
treedc4b1abdfa67d1dbaef745d8203293df8ecd3a3e /testsuite/E30.py
parenteb91b79ab38aad4d44a3b52b02605412f32ba5ae (diff)
downloadpep8-368e62cb6c57ff386b5a08659a5a9d2866b80a2f.tar.gz
Finalize support for Python 3.7
Python 3.7 added a warning for a future feature of nested regular expressions. To avoid this warning we escape what is not a nested regex. This also keeps track of the `async` keyword and handles it appropriately. Closes gh-728
Diffstat (limited to 'testsuite/E30.py')
-rw-r--r--testsuite/E30.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/E30.py b/testsuite/E30.py
index bd74b80..ad5518b 100644
--- a/testsuite/E30.py
+++ b/testsuite/E30.py
@@ -157,7 +157,7 @@ def main():
if __name__ == '__main__':
main()
# Previously just E272:1:6 E272:4:6
-#: E302:4:1 E272:1:6 E272:4:6
+#: E302:4:1 E271:1:6 E271:4:6
async def x():
pass