diff options
author | Marc Mueller <30130371+cdce8p@users.noreply.github.com> | 2021-05-02 18:41:16 +0200 |
---|---|---|
committer | Marc Mueller <30130371+cdce8p@users.noreply.github.com> | 2021-05-02 18:42:29 +0200 |
commit | e2ebb356246615e1749a5366592e4523bb8752ec (patch) | |
tree | 9237708703ca1649397da38b48e2d21c13e729e7 /testsuite/python310.py | |
parent | c4460cb9dffbd9b7ee000dc31388d5f45fe484a0 (diff) | |
download | pep8-e2ebb356246615e1749a5366592e4523bb8752ec.tar.gz |
Fix false-positive E211 with match and case
Diffstat (limited to 'testsuite/python310.py')
-rw-r--r-- | testsuite/python310.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/testsuite/python310.py b/testsuite/python310.py new file mode 100644 index 0000000..b72bf6d --- /dev/null +++ b/testsuite/python310.py @@ -0,0 +1,12 @@ +var, var2 = 1, 2 +#: Okay +match (var, var2): + #: Okay + case [2, 3]: + pass + #: Okay + case (1, 2): + pass + #: Okay + case _: + print("Default") |