summaryrefslogtreecommitdiff
path: root/test/orm/test_session.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/orm/test_session.py')
-rw-r--r--test/orm/test_session.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/orm/test_session.py b/test/orm/test_session.py
index 79852c7a4..a82606b2b 100644
--- a/test/orm/test_session.py
+++ b/test/orm/test_session.py
@@ -1158,7 +1158,7 @@ class DisposedStates(fixtures.MappedTest):
for obj in objs:
state = attributes.instance_state(obj)
sess.identity_map.discard(state)
- state.dispose()
+ state._dispose()
def _test_session(self, **kwargs):
global sess