From: Mike Bayer Date: Tue, 15 Jun 2010 00:15:27 +0000 (-0400) Subject: - hypothesize that newer pysqlites are also growing a warning log on non-unicdoe... X-Git-Tag: rel_0_6_2~42 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1769b2d8deb8aa97c6f8df500c1355f4206d1484;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git - hypothesize that newer pysqlites are also growing a warning log on non-unicdoe strings --- 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,