]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
expunge the session again so we're not recycling anything, for Jython
authorPhilip Jenvey <pjenvey@underboss.org>
Tue, 21 Jul 2009 05:26:36 +0000 (05:26 +0000)
committerPhilip Jenvey <pjenvey@underboss.org>
Tue, 21 Jul 2009 05:26:36 +0000 (05:26 +0000)
test/ext/test_declarative.py

index 68b710ca638b27bdad8f45714bf65d26a45af7d2..6bf709dfc74e7b76f0a7c0550547de5acbe9f3c6 100644 (file)
@@ -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__