From be3c185fd48c2abcc5d9f54dd0c415e15c33184f Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Sat, 22 Mar 2014 18:22:17 -0400 Subject: - Added new datatype :class:`.oracle.DATE`, which is a subclass of :class:`.DateTime`. As Oracle has no "datetime" type per se, it instead has only ``DATE``, it is appropriate here that the ``DATE`` type as present in the Oracle dialect be an instance of :class:`.DateTime`. This issue doesn't change anything as far as the behavior of the type, as data conversion is handled by the DBAPI in any case, however the improved subclass layout will help the use cases of inspecting types for cross-database compatibility. Also removed uppercase ``DATETIME`` from the Oracle dialect as this type isn't functional in that context. fixes #2987 --- test/engine/test_reflection.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/engine/test_reflection.py') diff --git a/test/engine/test_reflection.py b/test/engine/test_reflection.py index 446bb8a36..a53893549 100644 --- a/test/engine/test_reflection.py +++ b/test/engine/test_reflection.py @@ -979,11 +979,11 @@ class ReflectionTest(fixtures.TestBase, ComparesTables): users_v = Table("users_v", m2, autoload=True) addresses_v = Table("email_addresses_v", m2, autoload=True) - for c1, c2 in zip(users.c, users_v.c): + for c1, c2 in zip(users_v.c, users.c): eq_(c1.name, c2.name) self.assert_types_base(c1, c2) - for c1, c2 in zip(addresses.c, addresses_v.c): + for c1, c2 in zip(addresses_v.c, addresses.c): eq_(c1.name, c2.name) self.assert_types_base(c1, c2) finally: -- cgit v1.2.1