diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2015-12-08 13:49:56 -0500 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2015-12-08 13:50:25 -0500 |
| commit | f4a1129e79e0cd938da3e7737b190f7f4db3ed63 (patch) | |
| tree | 4f67dcee5fb8d617bdc9b5bdd81c28fc43421599 /test/dialect | |
| parent | 7df4054b04ed54504be2c2ab8a83721748130780 (diff) | |
| download | sqlalchemy-f4a1129e79e0cd938da3e7737b190f7f4db3ed63.tar.gz | |
- fix changelog for #3602
- add version switch for backend fsp test
(cherry picked from commit 67b22cee3ab2c17b61100f1ccd69081082c0f074)
Diffstat (limited to 'test/dialect')
| -rw-r--r-- | test/dialect/mysql/test_reflection.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/test/dialect/mysql/test_reflection.py b/test/dialect/mysql/test_reflection.py index 351eacea5..a28876262 100644 --- a/test/dialect/mysql/test_reflection.py +++ b/test/dialect/mysql/test_reflection.py @@ -71,11 +71,16 @@ class TypeReflectionTest(fixtures.TestBase): def test_time_types(self): specs = [] + if testing.requires.mysql_fsp.enabled: + fsps = [None, 0, 5] + else: + fsps = [None] + for type_ in (mysql.TIMESTAMP, mysql.DATETIME, mysql.TIME): # MySQL defaults fsp to 0, and if 0 does not report it. # we don't actually render 0 right now in DDL but even if we do, # it comes back blank - for fsp in (None, 0, 5): + for fsp in fsps: if fsp: specs.append((type_(fsp=fsp), type_(fsp=fsp))) else: |
