summaryrefslogtreecommitdiff
path: root/test/orm/inheritance/test_selects.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/orm/inheritance/test_selects.py')
-rw-r--r--test/orm/inheritance/test_selects.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/orm/inheritance/test_selects.py b/test/orm/inheritance/test_selects.py
index 7ac953fd0..a7ae39db3 100644
--- a/test/orm/inheritance/test_selects.py
+++ b/test/orm/inheritance/test_selects.py
@@ -116,7 +116,7 @@ class JoinFromSelectPersistenceTest(fixtures.MappedTest):
Base, Child = self.classes.Base, self.classes.Child
base, child = self.tables.base, self.tables.child
- base_select = select([base]).alias()
+ base_select = select(base).alias()
mapper(
Base,
base_select,