X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/90e14e8b619246ff787d10b94bd5a64d18e52b84..3eab6d3131acd14b5900519d8447c8a1152e6d87:/tests/expression.py diff --git a/tests/expression.py b/tests/expression.py index 17b77c4..7bea9a7 100644 --- a/tests/expression.py +++ b/tests/expression.py @@ -270,9 +270,7 @@ lambda a, b, c=True, *vararg, d=(v1 << 2), e="str", **kwargs: a + b manylambdas = lambda x=lambda y=lambda z=1: z: y(): x() foo = lambda port_id, ignore_missing: { "port1": port1_resource, "port2": port2_resource -}[ - port_id -] +}[port_id] 1 if True else 2 str or None if True else str or bytes or None (str or None) if True else (str or bytes or None) @@ -411,9 +409,7 @@ what_is_up_with_those_new_coord_names = ( ) 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() +).order_by(models.Customer.id.asc()).all() Ø = set() authors.łukasz.say_thanks() mapping = {