summaryrefslogtreecommitdiff
path: root/test/orm/test_lockmode.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/orm/test_lockmode.py')
-rw-r--r--test/orm/test_lockmode.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/orm/test_lockmode.py b/test/orm/test_lockmode.py
index bc90c25d8..a3dd42fc2 100644
--- a/test/orm/test_lockmode.py
+++ b/test/orm/test_lockmode.py
@@ -31,7 +31,7 @@ class ForUpdateTest(_fixtures.FixtureTest):
q = s.query(User).with_for_update(
read=read, nowait=nowait, of=of, key_share=key_share
)
- sel = q._compile_context().statement
+ sel = q._compile_state().statement
assert q._for_update_arg.read is read
assert sel._for_update_arg.read is read