X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/3eea3aad864b83af3b6c477c32f15eb821fe9341..4ad7c9c1073df57b22cabc9b73f8f9aae3e36ec9:/tests/function.py diff --git a/tests/function.py b/tests/function.py index 4cfc945..4754588 100644 --- a/tests/function.py +++ b/tests/function.py @@ -167,9 +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():