X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/90e14e8b619246ff787d10b94bd5a64d18e52b84..00a302560b92951c22f0f4c8d618cf63de39bd57:/tests/function.py diff --git a/tests/function.py b/tests/function.py index ea27ebb..4754588 100644 --- a/tests/function.py +++ b/tests/function.py @@ -167,11 +167,15 @@ def spaces2(result=_core.Value(None)): def example(session): - 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() + 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() + ) def long_lines():