summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/test/testing.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2009-11-01 22:47:14 +0000
committerMike Bayer <mike_mp@zzzcomputing.com>2009-11-01 22:47:14 +0000
commite8854fe945e94d0fe654e83397c47f8b0fb1f1e8 (patch)
treebb6b4b9c09a476cb859fcdbc29863e5872ec3fc1 /lib/sqlalchemy/test/testing.py
parentfb6be4d35906ccc822634a7657ec109b5d8cbb7f (diff)
downloadsqlalchemy-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.py3
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)