diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2009-11-01 22:47:14 +0000 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2009-11-01 22:47:14 +0000 |
commit | e8854fe945e94d0fe654e83397c47f8b0fb1f1e8 (patch) | |
tree | bb6b4b9c09a476cb859fcdbc29863e5872ec3fc1 /lib/sqlalchemy/test/testing.py | |
parent | fb6be4d35906ccc822634a7657ec109b5d8cbb7f (diff) | |
download | sqlalchemy-e8854fe945e94d0fe654e83397c47f8b0fb1f1e8.tar.gz |
- INTERVAL supports an optional "precision" argument
corresponding to the argument that PG accepts.
- Added support for reflecting the INTERVAL YEAR TO MONTH
and INTERVAL DAY TO SECOND syntaxes of the INTERVAL
type. [ticket:460]
Diffstat (limited to 'lib/sqlalchemy/test/testing.py')
-rw-r--r-- | lib/sqlalchemy/test/testing.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/sqlalchemy/test/testing.py b/lib/sqlalchemy/test/testing.py index 654153adb..369aa3a6f 100644 --- a/lib/sqlalchemy/test/testing.py +++ b/lib/sqlalchemy/test/testing.py @@ -639,7 +639,8 @@ class ComparesTables(object): eq_(c.nullable, reflected_c.nullable) if strict_types: - assert type(reflected_c.type) is type(c.type), "Type '%s' doesn't correspond to type '%s'" % (reflected_c.type, c.type) + assert type(reflected_c.type) is type(c.type), \ + "Type '%s' doesn't correspond to type '%s'" % (reflected_c.type, c.type) else: self.assert_types_base(reflected_c, c) |