diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2009-01-17 06:27:02 +0000 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2009-01-17 06:27:02 +0000 |
commit | 345eaeed74588d97fc614a396dd6cfe5f8ece938 (patch) | |
tree | 5982326823886bcd2f1ae4f4e62d283804127ff0 /test/base/utils.py | |
parent | b58d6fe9d97cd458db4efb12609f829d5f7d5f9f (diff) | |
download | sqlalchemy-345eaeed74588d97fc614a396dd6cfe5f8ece938.tar.gz |
WeakCompositeKey was coded incorrectly and was not weakly referencing anything. However when repaired, the usage within RelationLoader._create_joins() still creates cycles between key elements and the value placed in the dict. In the interests of risk reduction, WCK is now removed and the two caches it was used for are now non-cached. Speed comparisons with one join/eager-heavy web application show no noticeable effect in response time.
Diffstat (limited to 'test/base/utils.py')
-rw-r--r-- | test/base/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/base/utils.py b/test/base/utils.py index b3e11f230..0b7762b7d 100644 --- a/test/base/utils.py +++ b/test/base/utils.py @@ -4,7 +4,6 @@ from sqlalchemy import util, sql, exc from testlib import TestBase from testlib.testing import eq_, is_, ne_ - class OrderedDictTest(TestBase): def test_odict(self): o = util.OrderedDict() @@ -943,5 +942,6 @@ class TestClassHierarchy(TestBase): eq_(set(util.class_hierarchy(Mixin)), set()) eq_(set(util.class_hierarchy(A)), set((A, B, object))) + if __name__ == "__main__": testenv.main() |