X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/a764f1bb3b459ee6f2e752e3d67793b119a2144a..639b62dcd32cde3645e9f9a633eee33c04d23901:/tests/expression.diff diff --git a/tests/expression.diff b/tests/expression.diff index bc34c0e..dd9459c 100644 --- a/tests/expression.diff +++ b/tests/expression.diff @@ -117,7 +117,7 @@ ] slice[0] slice[0:1] -@@ -121,85 +135,119 @@ +@@ -121,88 +135,122 @@ numpy[-(c + 1):, d] numpy[:, l[-2]] numpy[:, ::-1] @@ -184,6 +184,12 @@ async def f(): await some.complicated[0].call(with_args=(True or (1 is not 1))) +-print(* [] or [1]) ++ ++ ++print(*[] or [1]) + print(**{1: 3} if False else {x: x for x in range(3)}) +-print(* lambda x: x) -for x, in (1,), (2,), (3,): ... -for y in (): ... -for z in (i for i in (1, 2, 3)): ... @@ -226,8 +232,7 @@ - aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa -): - return True -+ -+ ++print(*lambda x: x) +for (x,) in (1,), (2,), (3,): + ... +for y in ():