From: Mike Bayer Date: Sun, 27 Mar 2011 23:26:47 +0000 (-0400) Subject: - do a close() here so that objects are guaranteed loaded new X-Git-Tag: rel_0_7b4~50 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8058c7089f88dabfcbd9eadf6bf01b4cf1435c29;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git - do a close() here so that objects are guaranteed loaded new --- diff --git a/test/ext/test_horizontal_shard.py b/test/ext/test_horizontal_shard.py index a570de1ff9..62b992d2ef 100644 --- a/test/ext/test_horizontal_shard.py +++ b/test/ext/test_horizontal_shard.py @@ -163,6 +163,7 @@ class ShardTest(fixtures.TestBase): ]: sess.add(c) sess.commit() + sess.close() return sess def test_roundtrip(self):