From 1769b2d8deb8aa97c6f8df500c1355f4206d1484 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Mon, 14 Jun 2010 20:15:27 -0400 Subject: [PATCH] - hypothesize that newer pysqlites are also growing a warning log on non-unicdoe strings --- test/aaa_profiling/test_memusage.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/aaa_profiling/test_memusage.py b/test/aaa_profiling/test_memusage.py index 491a57fb01..b639e6e427 100644 --- a/test/aaa_profiling/test_memusage.py +++ b/test/aaa_profiling/test_memusage.py @@ -253,6 +253,11 @@ class MemUsageTest(EnsureZeroed): finally: metadata.drop_all() + @testing.fails_if(lambda: + testing.db.dialect.name == 'sqlite' and + testing.db.dialect.dbapi.version >= (2,5), + "Newer pysqlites generate warnings here too and have similar issues." + ) def test_unicode_warnings(self): metadata = MetaData(testing.db) table1 = Table("mytable", metadata, -- 2.47.2