]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
- merge sqlite 2.5 memory exception from r6567 of 0.5 branch
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 25 Dec 2009 16:50:49 +0000 (16:50 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 25 Dec 2009 16:50:49 +0000 (16:50 +0000)
test/aaa_profiling/test_memusage.py

index fbf0560ca1b079f7c08e74a675086e72dd4fed79..057adb06aaa102ddb9390866eb1d397971a6e80f 100644 (file)
@@ -309,6 +309,12 @@ class MemUsageTest(EnsureZeroed):
             metadata.drop_all()
         assert_no_mappers()
 
+    # fails on newer versions of pysqlite due to unusual memory 
+    # behvior in pysqlite itself.
+    # background at: http://thread.gmane.org/gmane.comp.python.db.pysqlite.user/2290
+    @testing.fails_if(lambda: 
+                        testing.db.dialect.name == 'sqlite' and 
+                        testing.db.dialect.dbapi.version > '2.5')
     def test_join_cache(self):
         metadata = MetaData(testing.db)