diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2013-05-26 16:58:37 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2013-05-26 16:58:37 -0400 |
commit | 4e930a7f780f0997e8f7f9ef4efe5c57ad86efd0 (patch) | |
tree | 00160eba433ec698b6f849b48c551e09c839cbfd /lib/sqlalchemy/dialects/sqlite/pysqlite.py | |
parent | b3654ee37abe7af3d83098cd8de1980369a3fcba (diff) | |
download | sqlalchemy-4e930a7f780f0997e8f7f9ef4efe5c57ad86efd0.tar.gz |
- add a test specific to sqlite testing cursor.description encoding (should
probably be one in test_query or test_unicode...)
- fix up test_unitofwork
Diffstat (limited to 'lib/sqlalchemy/dialects/sqlite/pysqlite.py')
-rw-r--r-- | lib/sqlalchemy/dialects/sqlite/pysqlite.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/sqlalchemy/dialects/sqlite/pysqlite.py b/lib/sqlalchemy/dialects/sqlite/pysqlite.py index 32ee1299f..ad0dd5292 100644 --- a/lib/sqlalchemy/dialects/sqlite/pysqlite.py +++ b/lib/sqlalchemy/dialects/sqlite/pysqlite.py @@ -267,7 +267,8 @@ class SQLiteDialect_pysqlite(SQLiteDialect): } ) - description_encoding = None + if not util.py2k: + description_encoding = None driver = 'pysqlite' |