summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/testing/requirements.py
diff options
context:
space:
mode:
authorGord Thompson <gord@gordthompson.com>2021-08-03 15:55:52 -0600
committerGord Thompson <gord@gordthompson.com>2021-08-03 15:55:52 -0600
commit59576d95a48c85dc0d5834e12f127da015374b75 (patch)
treec366ebdcce49ef97eb8aaaed22338e9d49ff31e4 /lib/sqlalchemy/testing/requirements.py
parent84be0b42e03b0aaf8000637c4b5e348a39333e2f (diff)
downloadsqlalchemy-59576d95a48c85dc0d5834e12f127da015374b75.tar.gz
Provide default for implicitly_named_constraints
… so third-party dialect testing won't fail with: "AttributeError: 'Requirements' object has no attribute 'implicitly_named_constraints'" Change-Id: Iafa3e36f3dd169c338dd6eaee21c73aa35e854cc
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 74ed1ad9b..b1582efe4 100644
--- a/lib/sqlalchemy/testing/requirements.py
+++ b/lib/sqlalchemy/testing/requirements.py
@@ -146,6 +146,12 @@ class SuiteRequirements(Requirements):
return exclusions.open()
@property
+ def implicitly_named_constraints(self):
+ """target database must apply names to unnamed constraints."""
+
+ return exclusions.open()
+
+ @property
def subqueries(self):
"""Target database must support subqueries."""