From: Mike Bayer Date: Fri, 12 Mar 2010 03:38:15 +0000 (-0500) Subject: think I came across a syntactical weirdism there X-Git-Tag: rel_0_6beta2~57^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b4f1fbc70874256e3f78d8bcc597a3589d728b49;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git think I came across a syntactical weirdism there --- diff --git a/test/sql/test_query.py b/test/sql/test_query.py index 064cfb236b..a9915ab296 100644 --- a/test/sql/test_query.py +++ b/test/sql/test_query.py @@ -770,7 +770,7 @@ class QueryTest(TestBase): @testing.emits_warning('.*empty sequence.*') @testing.fails_on('firebird', "kinterbasdb doesn't send full type information") @testing.fails_if(lambda: - (testing.db.name, testing.db.driver == 'mssql', 'pyodbc') + (testing.db.name, testing.db.driver) == ('mssql', 'pyodbc') and not testing.db.dialect.freetds, "not supported by Windows ODBC driver") def test_bind_in(self):