From: Philip Jenvey Date: Tue, 21 Jul 2009 05:26:36 +0000 (+0000) Subject: expunge the session again so we're not recycling anything, for Jython X-Git-Tag: rel_0_6_6~92 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=df64ae317d97a4adb2c6a2ba28684cb00b099dc8;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git expunge the session again so we're not recycling anything, for Jython --- diff --git a/test/ext/test_declarative.py b/test/ext/test_declarative.py index 68b710ca63..6bf709dfc7 100644 --- a/test/ext/test_declarative.py +++ b/test/ext/test_declarative.py @@ -1171,6 +1171,8 @@ class DeclarativeInheritanceTest(DeclarativeTestBase): Person(name='ratbert') ] ) + sess.expunge_all() + person = sess.query(Person).filter(Person.name == 'ratbert').one() assert 'name' not in person.__dict__