X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/3455389e486e0bb1d8a8318cb5f266b7ec8964dd..39a5fe7a55d2011d8209888b31fd6a4ea75efb71:/tests/expression.py diff --git a/tests/expression.py b/tests/expression.py index e0c819b..b03abfa 100644 --- a/tests/expression.py +++ b/tests/expression.py @@ -135,6 +135,8 @@ e = (1,).count(1) what_is_up_with_those_new_coord_names = (coord_names + set(vars_to_create)) + set(vars_to_remove) what_is_up_with_those_new_coord_names = (coord_names | set(vars_to_create)) - set(vars_to_remove) result = session.query(models.Customer.id).filter(models.Customer.account_id == account_id, models.Customer.email == email_address).order_by(models.Customer.id.asc(),).all() +Ø = set() +authors.łukasz.say_thanks() def gen(): yield from outside_of_generator @@ -142,7 +144,12 @@ def gen(): 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 @@ -340,6 +347,8 @@ result = session.query(models.Customer.id).filter( ).order_by( models.Customer.id.asc() ).all() +Ø = set() +authors.łukasz.say_thanks() def gen(): @@ -352,6 +361,18 @@ 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()