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