From 3bec6b6f350506fc7d6cf61717f185ce9af80704 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Fri, 25 Dec 2009 16:45:46 +0000 Subject: [PATCH] - add documented failure for newer pysqlite versions --- test/aaa_profiling/test_memusage.py | 6 ++++++ 1 file changed, 6 insertions(+) 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) -- 2.47.3