X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/d90297c77bab6e22831b05ffc099bfc709cc7785:/.vim/bundle/black/tests/data/pep_572_py39.py..HEAD:/.vim/bundle/black/tests/data/cases/pep_572_py39.py diff --git a/.vim/bundle/black/tests/data/pep_572_py39.py b/.vim/bundle/black/tests/data/cases/pep_572_py39.py similarity index 78% rename from .vim/bundle/black/tests/data/pep_572_py39.py rename to .vim/bundle/black/tests/data/cases/pep_572_py39.py index 7bbd509..d161462 100644 --- a/.vim/bundle/black/tests/data/pep_572_py39.py +++ b/.vim/bundle/black/tests/data/cases/pep_572_py39.py @@ -1,7 +1,8 @@ +# flags: --minimum-version=3.9 # Unparenthesized walruses are now allowed in set literals & set comprehensions # since Python 3.9 {x := 1, 2, 3} -{x4 := x ** 5 for x in range(7)} +{x4 := x**5 for x in range(7)} # We better not remove the parentheses here (since it's a 3.10 feature) x[(a := 1)] x[(a := 1), (b := 3)]