From 9b8418db3f1de9526cfea97f36faf9477e7a44bd Mon Sep 17 00:00:00 2001 From: Dave Halter Date: Wed, 19 Jul 2017 23:35:16 +0200 Subject: [PATCH] Forgot to check in the allowed_syntax file. --- test/normalizer_issue_files/allowed_syntax.py | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 test/normalizer_issue_files/allowed_syntax.py diff --git a/test/normalizer_issue_files/allowed_syntax.py b/test/normalizer_issue_files/allowed_syntax.py new file mode 100644 index 0000000..6cc95ed --- /dev/null +++ b/test/normalizer_issue_files/allowed_syntax.py @@ -0,0 +1,11 @@ +""" +Some syntax errors are a bit complicated and need exact checking. Here we +gather some of the potentially dangerous ones. +""" + +for x in [1]: + try: + continue # Only the other continue and pass is an error. + finally: + #: E901 + continue