]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
think I came across a syntactical weirdism there
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 12 Mar 2010 03:38:15 +0000 (22:38 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 12 Mar 2010 03:38:15 +0000 (22:38 -0500)
test/sql/test_query.py

index 064cfb236bac84ee77143efcc96d4ae4ebe11059..a9915ab2963839d45a78170a6a812593f56a3bc9 100644 (file)
@@ -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):