X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/90e14e8b619246ff787d10b94bd5a64d18e52b84..ecb3d8c472a369bdf04ec22adad3ef4793183bc1:/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():