From: Anders Bogsnes Date: Mon, 5 Aug 2024 20:28:48 +0000 (-0400) Subject: Add array_type to SuiteRequirements X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f52be645d7f5735bba52786b2f417cc0786f138d;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git Add array_type to SuiteRequirements Added missing ``array_type`` property to the testing suite ``SuiteRequirements`` class. Closes: #11694 Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/11694 Pull-request-sha: 24697f6a4346005aa83d8eb06f94bba4cc994862 Change-Id: I192b5b932dfef07043c0c0cfe8ea36b02425a44d --- diff --git a/doc/build/changelog/unreleased_20/array_type.rst b/doc/build/changelog/unreleased_20/array_type.rst new file mode 100644 index 0000000000..9b0801faf5 --- /dev/null +++ b/doc/build/changelog/unreleased_20/array_type.rst @@ -0,0 +1,5 @@ +.. change:: + :tags: bug, test + + Added missing ``array_type`` property to the testing suite + ``SuiteRequirements`` class. diff --git a/lib/sqlalchemy/testing/requirements.py b/lib/sqlalchemy/testing/requirements.py index 3b53dd943f..ae3c7f3d5f 100644 --- a/lib/sqlalchemy/testing/requirements.py +++ b/lib/sqlalchemy/testing/requirements.py @@ -1093,6 +1093,11 @@ class SuiteRequirements(Requirements): return exclusions.only_if(go) + @property + def array_type(self): + """Target platform implements a native ARRAY type""" + return exclusions.closed() + @property def json_type(self): """target platform implements a native JSON type."""