From ffec6ab936a73f5cbe63d9409beb12f1f0307d0b Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Wed, 8 Apr 2015 17:23:26 -0400 Subject: [PATCH] - add test support for MySQLdb with use_unicode=1 or using mysqlclient on py3k --- test/sql/test_types.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test/sql/test_types.py b/test/sql/test_types.py index 017a176dbc..ce2d3a5e0f 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 \ ( -- 2.47.3