From e8854fe945e94d0fe654e83397c47f8b0fb1f1e8 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Sun, 1 Nov 2009 22:47:14 +0000 Subject: - 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] --- lib/sqlalchemy/test/testing.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/sqlalchemy/test/testing.py') 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) -- cgit v1.2.1