summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/sql/test_types.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/sql/test_types.py b/test/sql/test_types.py
index 017a176db..ce2d3a5e0 100644
--- a/test/sql/test_types.py
+++ b/test/sql/test_types.py
@@ -964,6 +964,12 @@ class UnicodeTest(fixtures.TestBase):
testing.db.dialect.returns_unicode_strings,
True if util.py3k else "conditional"
)
+ elif testing.against("mysql+mysqldb"):
+ eq_(
+ testing.db.dialect.returns_unicode_strings,
+ True if util.py3k or testing.db.url.query.get("use_unicode")
+ else False
+ )
else:
expected = (testing.db.name, testing.db.driver) in \
(