diff options
author | Hajime Nakagami <nakagami@gmail.com> | 2013-03-01 00:00:18 +0900 |
---|---|---|
committer | Hajime Nakagami <nakagami@gmail.com> | 2013-03-01 00:00:18 +0900 |
commit | 220f2b851a74de510f98fa62559411bcb37ab150 (patch) | |
tree | 30e4d343656348ed076d646becafb6237fc54e43 | |
parent | b8ba4f23a589538074d81f07a4a09b9b8c749f68 (diff) | |
download | sqlalchemy-220f2b851a74de510f98fa62559411bcb37ab150.tar.gz |
mymysql dialect
-rw-r--r-- | lib/sqlalchemy/testing/engines.py | 2 | ||||
-rw-r--r-- | test/engine/test_reconnect.py | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/lib/sqlalchemy/testing/engines.py b/lib/sqlalchemy/testing/engines.py index 20bcf0317..26f561016 100644 --- a/lib/sqlalchemy/testing/engines.py +++ b/lib/sqlalchemy/testing/engines.py @@ -229,7 +229,7 @@ def utf8_engine(url=None, options=None): from sqlalchemy.engine import url as engine_url if config.db.dialect.name == 'mysql' and \ - config.db.driver in ['mysqldb', 'pymysql']: + config.db.driver in ['mysqldb', 'pymysql', 'cymysql']: # note 1.2.1.gamma.6 or greater of MySQLdb # needed here url = url or config.db_url diff --git a/test/engine/test_reconnect.py b/test/engine/test_reconnect.py index 6416ce149..6b283654b 100644 --- a/test/engine/test_reconnect.py +++ b/test/engine/test_reconnect.py @@ -487,6 +487,9 @@ class InvalidateDuringResultTest(fixtures.TestBase): meta.drop_all() engine.dispose() + @testing.fails_on('+cymysql', + "Buffers the result set and doesn't check for " + "connection close") @testing.fails_on('+pymysql', "Buffers the result set and doesn't check for " "connection close") |