X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/e36b8c71bb78f70735b8b4f239b0f574a6e0f277..39a5fe7a55d2011d8209888b31fd6a4ea75efb71:/tests/expression.diff diff --git a/tests/expression.diff b/tests/expression.diff index f37b16b..965aa00 100644 --- a/tests/expression.diff +++ b/tests/expression.diff @@ -103,7 +103,7 @@ ] slice[0] slice[0:1] -@@ -114,73 +123,92 @@ +@@ -114,78 +123,104 @@ numpy[-(c + 1):, d] numpy[:, l[-2]] numpy[:, ::-1] @@ -154,7 +154,12 @@ async def f(): await some.complicated[0].call(with_args=(True or (1 is not 1))) - +-for x, in (1,), (2,), (3,): ... +-for y in (): ... +-for z in (i for i in (1, 2, 3)): ... +-for i in (call()): ... +-for j in (1 + (2 + 3)): ... +-while(this and that): ... -if ( - threading.current_thread() != threading.main_thread() and - threading.current_thread() != threading.main_thread() or @@ -192,6 +197,19 @@ -): - return True + ++ ++for (x,) in (1,), (2,), (3,): ++ ... ++for y in (): ++ ... ++for z in (i for i in (1, 2, 3)): ++ ... ++for i in call(): ++ ... ++for j in 1 + (2 + 3): ++ ... ++while this and that: ++ ... +if ( + threading.current_thread() != threading.main_thread() + and threading.current_thread() != threading.main_thread()