diff options
Diffstat (limited to 'test/orm/bind.py')
-rw-r--r-- | test/orm/bind.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/orm/bind.py b/test/orm/bind.py index 47fba9168..189b864c0 100644 --- a/test/orm/bind.py +++ b/test/orm/bind.py @@ -35,7 +35,7 @@ class BindTest(_base.MappedTest): f = Foo() sess.save(f) sess.flush() - assert sess.get(Foo, f.id) is f + assert sess.query(Foo).get(f.id) is f finally: if hasattr(bind, 'close'): bind.close() |