diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2014-03-27 19:18:06 -0400 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2014-03-27 19:18:06 -0400 |
| commit | 50576a01eb39742632268fe1e595a554625171eb (patch) | |
| tree | dfdc8410792c9b20786349f77026fbb8f7e6b500 /lib/sqlalchemy/testing/requirements.py | |
| parent | 460139f630a8db71f2a12eae0b95c75c858210f8 (diff) | |
| download | sqlalchemy-50576a01eb39742632268fe1e595a554625171eb.tar.gz | |
- Tweaked the settings for mysql-connector-python; in Py2K, the
"supports unicode statements" flag is now False, so that SQLAlchemy
will encode the *SQL string* (note: *not* the parameters)
to bytes before sending to the database. This seems to allow
all unicode-related tests to pass for mysql-connector, including those
that use non-ascii table/column names, as well as some tests for the
TEXT type using unicode under cursor.executemany().
- other mysql-connector fixes; latest version seems to do better on
function call counts
Diffstat (limited to 'lib/sqlalchemy/testing/requirements.py')
| -rw-r--r-- | lib/sqlalchemy/testing/requirements.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/sqlalchemy/testing/requirements.py b/lib/sqlalchemy/testing/requirements.py index 7b2d0f40a..76e48f8c8 100644 --- a/lib/sqlalchemy/testing/requirements.py +++ b/lib/sqlalchemy/testing/requirements.py @@ -367,6 +367,13 @@ class SuiteRequirements(Requirements): return exclusions.open() @property + def date_coerces_from_datetime(self): + """target dialect accepts a datetime object as the target + of a date column.""" + + return exclusions.open() + + @property def date_historic(self): """target dialect supports representation of Python datetime.datetime() objects with historic (pre 1970) values.""" |
