diff options
Diffstat (limited to 'test/sql/test_operators.py')
-rw-r--r-- | test/sql/test_operators.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/sql/test_operators.py b/test/sql/test_operators.py index 7a027e28a..e5835a749 100644 --- a/test/sql/test_operators.py +++ b/test/sql/test_operators.py @@ -2791,7 +2791,7 @@ class TupleTypingTest(fixtures.TestBase): ) t1 = tuple_(a, b, c) expr = t1 == (3, "hi", "there") - self._assert_types([bind.type for bind in expr.right.element.clauses]) + self._assert_types([bind.type for bind in expr.right.clauses]) def test_type_coercion_on_in(self): a, b, c = ( @@ -2803,7 +2803,8 @@ class TupleTypingTest(fixtures.TestBase): expr = t1.in_([(3, "hi", "there"), (4, "Q", "P")]) eq_(len(expr.right.value), 2) - self._assert_types(expr.right._expanding_in_types) + + self._assert_types(expr.right.type.types) class InSelectableTest(fixtures.TestBase, testing.AssertsCompiledSQL): |