summaryrefslogtreecommitdiff
path: root/test/orm/test_loading.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/orm/test_loading.py')
-rw-r--r--test/orm/test_loading.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/orm/test_loading.py b/test/orm/test_loading.py
index a835b2908..050dd3a2d 100644
--- a/test/orm/test_loading.py
+++ b/test/orm/test_loading.py
@@ -51,7 +51,7 @@ class InstanceProcessorTest(_fixtures.FixtureTest):
Order(id=5, address=None),
],
),
- s.query(User).populate_existing().get(7),
+ s.get(User, 7, populate_existing=True),
)
self.assert_sql_count(testing.db, go, 1)