From: Mike Bayer Date: Fri, 25 Dec 2009 16:45:46 +0000 (+0000) Subject: - add documented failure for newer pysqlite versions X-Git-Tag: rel_0_5_7~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3bec6b6f350506fc7d6cf61717f185ce9af80704;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git - add documented failure for newer pysqlite versions --- diff --git a/test/aaa_profiling/test_memusage.py b/test/aaa_profiling/test_memusage.py index 70a3cf8cd6..13bee9e35c 100644 --- a/test/aaa_profiling/test_memusage.py +++ b/test/aaa_profiling/test_memusage.py @@ -304,6 +304,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)