diff options
-rw-r--r-- | lib/sqlalchemy/sql/default_comparator.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/sqlalchemy/sql/default_comparator.py b/lib/sqlalchemy/sql/default_comparator.py index d180dbc02..2a23326f4 100644 --- a/lib/sqlalchemy/sql/default_comparator.py +++ b/lib/sqlalchemy/sql/default_comparator.py @@ -146,6 +146,7 @@ def _in_impl(expr, op, seq_or_selectable, negate_op, **kw): # appropriately, i.e. "not (x IN ())" should not return NULL # values for x. + assert False, 'empty in' util.warn('The IN-predicate on "%s" was invoked with an ' 'empty sequence. This results in a ' 'contradiction, which nonetheless can be ' |