From 1d9c61489e180a8f67e0050fd49d727df467a2eb Mon Sep 17 00:00:00 2001 From: Philip Jenvey Date: Sat, 25 Jul 2009 19:35:14 +0000 Subject: [PATCH] fix the paramstyle check --- test/dialect/test_mysql.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/dialect/test_mysql.py b/test/dialect/test_mysql.py index 55792274a8..4052641522 100644 --- a/test/dialect/test_mysql.py +++ b/test/dialect/test_mysql.py @@ -1103,7 +1103,7 @@ class MatchTest(TestBase, AssertsCompiledSQL): metadata.drop_all() def test_expression(self): - format = testing.db.dialect == 'format' and '%s' or '?' + format = testing.db.dialect.paramstyle == 'format' and '%s' or '?' self.assert_compile( matchtable.c.title.match('somstr'), "MATCH (matchtable.title) AGAINST (%s IN BOOLEAN MODE)" % format) -- 2.47.3