summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/testing/requirements.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2018-01-08 16:05:23 -0500
committerMike Bayer <mike_mp@zzzcomputing.com>2018-01-08 16:14:17 -0500
commit80a2241ec03efdd8ea34101ee981a3b9e9ae58c1 (patch)
treef0d03aff2b4817a81de1778a4bfcd443079b3efa /lib/sqlalchemy/testing/requirements.py
parent3316890ffa9a51471ca7618e4a13e45494e03198 (diff)
downloadsqlalchemy-80a2241ec03efdd8ea34101ee981a3b9e9ae58c1.tar.gz
Re-enable setinputsizes for Oracle TIMESTAMP
Fixed regression where the removal of most setinputsizes rules from cx_Oracle dialect impacted the TIMESTAMP datatype's ability to retrieve fractional seconds. Fixes: #4157 Change-Id: Ic53109fd199aea8b9c4da14355e125849b8b198f
Diffstat (limited to 'lib/sqlalchemy/testing/requirements.py')
-rw-r--r--lib/sqlalchemy/testing/requirements.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/sqlalchemy/testing/requirements.py b/lib/sqlalchemy/testing/requirements.py
index b89d149d6..4d9726e2b 100644
--- a/lib/sqlalchemy/testing/requirements.py
+++ b/lib/sqlalchemy/testing/requirements.py
@@ -499,6 +499,13 @@ class SuiteRequirements(Requirements):
return exclusions.open()
@property
+ def timestamp_microseconds(self):
+ """target dialect supports representation of Python
+ datetime.datetime() with microsecond objects but only
+ if TIMESTAMP is used."""
+ return exclusions.closed()
+
+ @property
def datetime_historic(self):
"""target dialect supports representation of Python
datetime.datetime() objects with historic (pre 1970) values."""