summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/testing/requirements.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2012-10-10 19:34:29 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2012-10-10 19:34:29 -0400
commit084b559b44bba73becc7e7fa7636d4c5ac99bb55 (patch)
tree482912c75e6bb9cea188f4b55951c43bb1d74d7a /lib/sqlalchemy/testing/requirements.py
parentce2c4509176da6c125ec239931f05a946ac44d58 (diff)
downloadsqlalchemy-084b559b44bba73becc7e7fa7636d4c5ac99bb55.tar.gz
- [feature] Added "collation" parameter to all
String types. When present, renders as COLLATE <collation>. This to support the COLLATE keyword now supported by several databases including MySQL, SQLite, and Postgresql. [ticket:2276] - [change] The Text() type renders the length given to it, if a length was specified.
Diffstat (limited to 'lib/sqlalchemy/testing/requirements.py')
-rw-r--r--lib/sqlalchemy/testing/requirements.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/sqlalchemy/testing/requirements.py b/lib/sqlalchemy/testing/requirements.py
index 560bc9c97..bdd619bad 100644
--- a/lib/sqlalchemy/testing/requirements.py
+++ b/lib/sqlalchemy/testing/requirements.py
@@ -162,3 +162,9 @@ class SuiteRequirements(Requirements):
@property
def index_reflection(self):
return exclusions.open()
+
+ @property
+ def unbounded_varchar(self):
+ """Target database must support VARCHAR with no length"""
+
+ return exclusions.open()