diff options
Diffstat (limited to 'lib/sqlalchemy/testing/suite/test_select.py')
-rw-r--r-- | lib/sqlalchemy/testing/suite/test_select.py | 20 |
1 files changed, 8 insertions, 12 deletions
diff --git a/lib/sqlalchemy/testing/suite/test_select.py b/lib/sqlalchemy/testing/suite/test_select.py index 0a1227e58..c96c62a45 100644 --- a/lib/sqlalchemy/testing/suite/test_select.py +++ b/lib/sqlalchemy/testing/suite/test_select.py @@ -1259,12 +1259,10 @@ class ExpandingBoundInTest(fixtures.TablesTest): def test_null_in_empty_set_is_false_bindparam(self, connection): stmt = select( case( - [ - ( - null().in_(bindparam("foo", value=())), - true(), - ) - ], + ( + null().in_(bindparam("foo", value=())), + true(), + ), else_=false(), ) ) @@ -1273,12 +1271,10 @@ class ExpandingBoundInTest(fixtures.TablesTest): def test_null_in_empty_set_is_false_direct(self, connection): stmt = select( case( - [ - ( - null().in_([]), - true(), - ) - ], + ( + null().in_([]), + true(), + ), else_=false(), ) ) |