summaryrefslogtreecommitdiff
path: root/test/sql
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2013-04-21 16:58:55 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2013-04-21 16:58:55 -0400
commitd5af821b5d564141451f5534a0bb922508e89e70 (patch)
treea32692e499afdf291de8659448b668caba96691f /test/sql
parentb5ab6d4107a7204fae2c4887c0c05c447a38a5db (diff)
parent2830346207694fbf6334b5ce772544cea794194b (diff)
downloadsqlalchemy-d5af821b5d564141451f5534a0bb922508e89e70.tar.gz
Merged in bentrofatter/sqlalchemy-2663 (pull request #49)
Fixed PyMySQL problems for Python 2.x and mitigated some issues with Python 3.x
Diffstat (limited to 'test/sql')
-rw-r--r--test/sql/test_types.py11
1 files changed, 10 insertions, 1 deletions
diff --git a/test/sql/test_types.py b/test/sql/test_types.py
index fac22a205..37c5039c7 100644
--- a/test/sql/test_types.py
+++ b/test/sql/test_types.py
@@ -699,6 +699,16 @@ class UnicodeTest(fixtures.TestBase):
# end Py2K
)
+ elif testing.against('mysql+pymysql'):
+ eq_(
+ testing.db.dialect.returns_unicode_strings,
+ # Py3K
+ #True
+ # Py2K
+ False
+ # end Py2K
+ )
+
else:
expected = (testing.db.name, testing.db.driver) in \
(
@@ -709,7 +719,6 @@ class UnicodeTest(fixtures.TestBase):
('mysql', 'oursql'),
('mysql', 'zxjdbc'),
('mysql', 'mysqlconnector'),
- ('mysql', 'pymysql'),
('sqlite', 'pysqlite'),
('oracle', 'zxjdbc'),
('oracle', 'cx_oracle'),