diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2010-03-12 18:30:38 +0000 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2010-03-12 18:30:38 +0000 |
| commit | 1b169548642b4ced5b25510d35fdd28af0c06c7e (patch) | |
| tree | 717b72a5040cd5582f5ad5e027ab8028603d2368 /test/sql/test_query.py | |
| parent | b4f1fbc70874256e3f78d8bcc597a3589d728b49 (diff) | |
| download | sqlalchemy-1b169548642b4ced5b25510d35fdd28af0c06c7e.tar.gz | |
- introduce an optimizing type _NativeUnicodeMixin to oracle plus supporting
changes to Enum/SchemaType to re-support adaptation of string types.
This approach can be adapted by "conditional" unicode returning dialects
(i.e. pyodbc and possibly mxodbc) to remove the overhead
of isinstance(value, unicode) calls when the dialect returned type is
of dbapi.UNICODE, dbapi.NVARCHAR, etc.
Diffstat (limited to 'test/sql/test_query.py')
| -rw-r--r-- | test/sql/test_query.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/sql/test_query.py b/test/sql/test_query.py index a9915ab29..4ccc51713 100644 --- a/test/sql/test_query.py +++ b/test/sql/test_query.py @@ -770,8 +770,7 @@ class QueryTest(TestBase): @testing.emits_warning('.*empty sequence.*') @testing.fails_on('firebird', "kinterbasdb doesn't send full type information") @testing.fails_if(lambda: - (testing.db.name, testing.db.driver) == ('mssql', 'pyodbc') - and not testing.db.dialect.freetds, + testing.against('mssql+pyodbc') and not testing.db.dialect.freetds, "not supported by Windows ODBC driver") def test_bind_in(self): users.insert().execute(user_id = 7, user_name = 'jack') |
