diff options
Diffstat (limited to 'test/orm/test_association.py')
| -rw-r--r-- | test/orm/test_association.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/orm/test_association.py b/test/orm/test_association.py index 669b1dc48..b4c689c01 100644 --- a/test/orm/test_association.py +++ b/test/orm/test_association.py @@ -223,9 +223,9 @@ class AssociationTest(fixtures.MappedTest): ) sess.add_all((item1, item2)) sess.flush() - eq_(select([func.count("*")]).select_from(item_keywords).scalar(), 3) + eq_(select(func.count("*")).select_from(item_keywords).scalar(), 3) sess.delete(item1) sess.delete(item2) sess.flush() - eq_(select([func.count("*")]).select_from(item_keywords).scalar(), 0) + eq_(select(func.count("*")).select_from(item_keywords).scalar(), 0) |
